Bash cron
cron runs commands automatically on a schedule. Each user has a list of jobs, called a crontab.
crontab -e edits your list and crontab -l shows it. Each line has five time fields, then the command: minute, hour, day of month, month, day of week.
Crontab lines
A crontab with two jobs:
# Run a backup every day at midnight
0 0 * * * /path/to/backup.sh
# Run a report every Monday at 08:30
30 8 * * 1 /path/to/report.sh
List your jobs
crontab -l
# Run a backup every day at midnight
0 0 * * * /path/to/backup.sh
# Run a report every Monday at 08:30
30 8 * * 1 /path/to/report.sh