crontab
crontab is the program used to install, deinstall or list the tables used to drive the cron daemon in ISC Cron. Each user can have their own crontab, and though these are files in /var/spool/, they are not intended to be edited directly.[1]
Documentation
- man 1 'crontab' [EN]
- man 5 'crontab' [EN]
Syntax
crontab [-u USER] -e | -l | -r
Parameters
- -e
- This option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the editor, the modified crontab will be installed automatically.
- -l
- The current crontab will be displayed on standard output.
Examples
- Edit Alex's crontab as root
crontab -u 'alex' -e
References
- ↑ man 1 'crontab'