How can I execute a PHP script using command line?
/path/to/php/executable /path/to/php/file
Example (Linux):
/usr/bin/php/php5 /var/www/myphpscript.php
Example (Windows):
C:/php5/php.exe C:/inetpub/wwwroot/myphpscript.php