Page 1 of 1

Run a PHP file in microsoft scheduled tasks

Posted: Fri Jun 15, 2007 4:26 pm
by guitarlvr
I need to run a php file in microsoft scheduled tasks. I tried creating a new task and pointing to the file but at the time it was supposed to run, instead of running the file, it opened it in notepad. Anyone know how i can get it to run?

Thanks,

Wayne

Posted: Fri Jun 15, 2007 4:27 pm
by Benjamin
That's just funny. :lol:

Posted: Fri Jun 15, 2007 4:33 pm
by John Cartwright
You need to specificy the php interpreter for it to be... intepreted.

Code: Select all

C:\PHP\php.exe "C:\path\to\file.php"