Click to See Complete Forum and Search --> : cronjob timing out


irf2k
02-18-2007, 07:09 PM
I am currently trying to run a large number of SOAP commands to update a database.
The only problem is, they take long to execute, and so my cronjob times out before it is complete.
I am hosting on a shared server, and I am wondering if it is possible to somehow make the script continue running, or somehow call other scripts?
also, I can't run separate cronjobs, since my hosting provider only allows time specifications every hour (so I can't run one script and then the next one 10min later)...

irf2k
02-18-2007, 07:36 PM
would it be possible to use header() to redirect the first cronjob to another script and reset the timeout?

NightShift58
02-18-2007, 09:23 PM
Have you tried set_time_limit() (http://www.php.net/manual/en/function.set-time-limit.php))?