cmdxray / commands / crontab

What does crontab do?

install, view, or edit a user's scheduled (cron) jobs.

▸ Explain your own crontab command →

crontab examples, explained

$ crontab -e

  • crontabinstall, view, or edit a user's scheduled (cron) jobs
  • -eedit the current crontab in your $EDITOR

$ crontab -l

  • crontabinstall, view, or edit a user's scheduled (cron) jobs
  • -llist (print) the current crontab

$ crontab -r

  • crontabinstall, view, or edit a user's scheduled (cron) jobs
  • -rremove the current crontab entirely

crontab flags & options

-eedit the current crontab in your $EDITOR
-llist (print) the current crontab
-rremove the current crontab entirely
-iprompt for confirmation before removing
-uoperate on the named user's crontab (needs privileges)

Other commands

Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.