Thursday, January 19, 2012

how to run a php script using windows scheduler

Locate the php.exe executable on your system and pass it the name of the script file using the -f parameter.

Example:

C:\Xampp\php\php.exe -f C:\Xampp\htdocs\my_script.php

No comments:

Post a Comment