How to Set Up Cron Jobs in Linux
cron runs jobs on a fixed schedule. On Ubuntu/Debian you edit the user (or root) crontab and you are done.
Steps
Open the current user’s crontab:
crontab -eFormat: minute hour day-of-month month day-of-week command. Example daily at 04:00:
0 4 * * * /usr/local/bin/vps-backup.sh