Monday, January 25, 2010

run php as cron job at Webfaction.com

short command for run php script as cron job


* * * * * /usr/local/bin/phphome $HOME/path/to/php_script.php > $HOME/path/to/output.log 2>&1


pretty simple.

No comments: