I have a php script that updates a database. It takes round 5 minutes to complete. I want to set it to run automatically via cron job on cpanel but it don't execute via cron job.
Is there any time execution limit on cron jobs or is there any other effective way to automate this process on server?
set_time_limit()
might help you
you can use supervisor to keep command line tasks running
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.