Sunday, December 18, 2011

cron job

the following command will fire the script in cron tab

/usr/bin/php -q /home/username/public_html/file.php

file.php is the file that will be fired.
public_html is the folder where the file is saved.
username is your username

No comments:

Post a Comment