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
Run a PHP file in microsoft scheduled tasks
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
You need to specificy the php interpreter for it to be... intepreted.
Code: Select all
C:\PHP\php.exe "C:\path\to\file.php"