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

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

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

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