Intermediate
Package: cron / cronie
crontab
Schedule commands to run automatically on a recurring basis.
Syntax
crontab [options]
Description
crontab manages a user's personal cron schedule — a list of commands with a time pattern (minute, hour, day, month, weekday) describing when each should run — used for backups, log rotation, report generation and similar recurring tasks.
Examples
crontab -e
Edit your personal crontab in your default editor
crontab -l
List your current scheduled jobs
0 3 * * * /usr/local/bin/backup.sh
Example crontab line: run a script at 3am every day
Applies to
Put it into practice