Re: Re: Windows CLI and task scheduler
| From: | Jason Barnett | Date: | Wed, 19 Jan 2005 23:12:33 +0000 |
| Subject: | Re: Re: Windows CLI and task scheduler | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206790@lists.php.net to get a copy of this message | ||
Richard Lynch wrote:
Dominic Schanen wrote:That makes some sense.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?I think it's just the way it is, not a bug. Windows can't close that window, so it complains.
You could try searching/adding it to http://bugs.php.net though, if you think it really is a bug.It will likely end up being labeled bogus (just my opinion of course). From what you say of php-win.exe it sounds like it's just a call to the comspec and then invoking php. If that's all that php-win does then it's seriously not needed; you can just add a file association for .php files that will run: C:\WINNT\SYSTEM32\CMD.EXE /K "C:\PHP\php.exe -f %1" ^^^^ path/to/comspec ^^^^ /K "/path/to/php.exe -f %1" Right click, run php script in an MS-DOS box. Presto! Simple as that. -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://www.php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins