I changed the scheduled task to use php.exe instead of php-win.exe and that cleared up the errors with unloading the profile that were appearing in the application log. Could this possibly be a bug with php-win.exe and not cleaning up properly?

Thanks,
Dominic

Dominic Schanen wrote:
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

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to