Windows CLI and task scheduler
| From: | Dominic Schanen | Date: | Tue, 18 Jan 2005 22:30:58 +0000 |
| Subject: | Windows CLI and task scheduler | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206712@lists.php.net to get a copy of this message | ||
I've written several command line scripts to run as scheduled tasks on a Windows 2000 Server machine. They run fine, no problems. However, the application log is filling up with errors stating that windows was unable to unload my registry profile. I know the PHP scripts are at fault because the errors are being recorded at the same intervals as my scheduled tasks.
I installed UPHClean to cleanup the unloaded profiles but that simply doubles the number of log entries created.
I was wondering if anyone else has run into this problem? Is this a task scheduler problem or a PHP problem? If it is a task scheduler problem, is there something I can do by exiting or closing differently in PHP?
I have PHP 5.0.3 and am using php-win.exe
Thanks,
Dominic