Edit and list cron jobs, plus schedule examples and shorthand like @daily and @reboot. Tap to copy.
crontab -eEdit your crontabcrontab -lList your current cron jobscrontab -rRemove your entire crontab (careful!)crontab -u alice -eEdit another user's crontab (as root)* * * * * cmdRun every minute*/10 * * * * cmdRun every 10 minutes0 9 * * 1-5 cmdWeekdays at 9:00 AM0 0 * * 0 cmdSundays at midnight30 2 1 * * cmd2:30 AM on the 1st of each month@reboot cmdRun once at startup@hourly cmdRun at the top of every hour@daily cmdRun once a day at midnight@weekly cmdRun once a week@monthly cmdRun once a monthcron runs commands automatically on a schedule — backups, cleanups, report generation, anything that should happen regularly without you. You manage your jobs with crontab -e to edit and crontab -l to list. Each line is a schedule followed by a command, and the schedule uses the familiar five-field cron syntax: minute, hour, day-of-month, month, day-of-week.
For common cases there are readable shortcuts: @daily, @hourly, @weekly and the handy @reboot, which runs a command once when the machine starts. One caution: crontab -r deletes your entire crontab with no confirmation, and it sits right next to -e on the keyboard — so double-check before you press Enter. If a schedule string ever looks cryptic, the cron expression explainer will translate it for you.