cron job command

The following were sample command only, please change the bold section to your own setting.Command to run for a php5 cron job:

php -q /home/username/public_html/cron.php 

Remote File
/usr/bin/GET http://www.domain.com/cron.php

Command to run a cgi cron job:
perl /home/username/public_html/cgi-bin/file.pl 

Command to run for a shell script cron job:
/bin/sh /home/username/public_html/shell.sh

Command to import database:
mysql -u mysql_user -ppassword database_name < backup.sql

Command to export database:
mysqldump -u mysql_user -ppassword database_name > backup.sql

Add Feedback