crontab

Add to crontab from cmd line.

(crontab -l ; echo "0 0 * * * /home/users_home/backup-db.sh") | sort - | uniq - | crontab -

Edit crontab file

crontab -e

Restart it!

sudo service cron restart

references
cyberciti
stackoverflow

Advertisements