Cron / Crontab Commands

Complete Cron / Crontab commands reference — 22 commands across 3 categories. Quick reference cheat sheet for Linux & Unix.

Command Options (10)

ShortcutAction
crontab -uSpecifies the name of the user whose crontab is to be modified. If this option is not used
crontab -TTest the crontab file syntax without installing it. Once an issue is found, the validation
crontab -lDisplays the current crontab on standard output
crontab -rRemoves the current crontab
crontab -eEdits the current crontab using the editor specified by the VISUAL or EDITOR environment
crontab -iThis option modifies the -r option to prompt the user for a 'y/Y' response before actually
crontab -sAppends the current SELinux security context string as an MLS_LEVEL setting to the crontab file
crontab -nThis option is relevant only if cron(8) was started with the -c option, to enable clustering
crontab -cThis option is only relevant if cron(8) was started with the -c option, to enable clustering
crontab -VPrint version and exit

Special Strings (7)

ShortcutAction
@rebootRun once after reboot
@yearlyRun once a year, ie. "0 0 1 1 *"
@annuallyRun once a year, ie. "0 0 1 1 *"
@monthlyRun once a month, ie. "0 0 1 * *"
@weeklyRun once a week, ie. "0 0 * * 0"
@dailyRun once a day, ie. "0 0 * * *"
@hourlyRun once an hour, ie. "0 * * * *"

Additional Shortcuts (5)

ShortcutAction
* * * * *min hr day mon dow
0 9 * * *Daily 9AM
*/5 * * * *Every 5 min
0 0 * * 0Every Sunday
0 0 1 * *Monthly 1st
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

Bash / Shell Linux systemctl / systemd Zsh tmux Ansible

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts

🤖 Ask AI about Cron / Crontab shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok
📜 Every shortcut on this page is taken from the official Cron / Crontab documentation — man7.org
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.