Hi there,
I'm running a script from the CLI using a batch file which I've added to the Windows Task Manager, but the scripts is getting an execution time error after 600 seconds.
It's a Windows 2000 Server with SP4 installed and PHP 4.3.6. For as far as I found in the documentation the CLI of PHP should have an unlimited execution time, but appearantly thats not the case.
PHP is not running in safe mode and the max_execution_time is set to 30 in the PHP.ini. I also tried to change the execution time by using ini_set and set_time_limit but that also didn't make any difference.
This is the way I execute the script from the command line:
C:\php\cli\php -f D:[url]www.website.com\updates\AutoPublisher.php[/url]
and I also tried:
C:\php\cli\php -q D:[url]www.website.com\updates\AutoPublisher.php[/url]
and even tried using the 'normal' php.exe from the php base dir and then set the max_execution time but nothing I tried made any difference.
Is there anyone who knows what this problem could be or atleast where it gets the 600 seconds time out from (since it's not in my php.ini, script or even webserver)?
Kind regards