Frequently Asked Questions
A cron expression is a string of 5 fields that defines a recurring schedule. Fields are: minute (0–59), hour (0–23), day of month (1–31), month (1–12), day of week (0–6, 0=Sunday). Special characters: * (any), , (list), - (range), / (step).
The asterisk (*) means "every possible value" for that unit. For example, * in the minute field means every minute. The expression * * * * * runs every minute of every day.
The slash (/) defines a step. For example, */15 in the minutes field means "every 15 minutes" (0, 15, 30, 45). The expression 0 */6 * * * runs every 6 hours at minute 0.
Cron is the daemon that runs scheduled tasks on Unix/Linux systems. Crontab (cron table) is the configuration file where jobs are defined. Use crontab -e to edit it and crontab -l to list current jobs.