Forum Moderators: coopster

Message Too Old, No Replies

Cron timeout

taking tooo long to finish processing

         

roycerus

6:09 pm on Feb 9, 2005 (gmt 0)

10+ Year Member



Hi,
I have a php script which basically sends out emails. The number of emails to send has grown quite a bit and now the cron sends a timeout error output.
Is there anyway I can set the timeout for this script to.. like around 5 mins?
Thanks in advance.
R

jatar_k

8:00 pm on Feb 9, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



the setting I believe you are looking for is max_execution_time [php.net], it looks like you can set this using ini_set [php.net]