can server 2008's task scheduler run a php file?

Posted by rg89 on Server Fault See other posts from Server Fault or by rg89
Published on 2010-05-07T20:19:10Z Indexed on 2010/05/07 20:30 UTC
Read the original article Hit count: 220

Filed under:
|

Hello. I have a server 2008 64 bit machine with php5 via fastcgi installed. I want to run a .php script every day at 3 AM. I set up a task and "Last Run Result" says "%1 is not a valid Win32 application"

The event properties describe more failure:

"Task Scheduler failed to launch action "D:\InetPub\tools\something\build.php" in instance "{88cc01f4-9554-4b8f-9836-34d806337d7f}" of task "\Something". Additional Data: Error Value: 2147942593."

Task Category: Action failed to start

Is it possible to run scripts using the task scheduler? If not, how should I go about automating the execution of a php script?

Thanks

© Server Fault or respective owner

Related posts about task

Related posts about scheduler