14.6 Allowing Users to
Use the crontab Command
The user deploy uses the crontab -e command to create and update the crontab file. The crontab command invokes the editor. If the EDITOR environment variable exists, the command invokes the editor it specifies. Otherwise, the crontab command uses the vi editor. On saving and exiting from the editor, a message indicating the change is sent to the cron daemon.
The content of the /var/spool/cron/crontabs directory and the content of the
crontab file created by the user deploy is show in
Figure 119:
Figure 119: crontab Entry Created by the User Deploy
The user deploy is scheduling to run /appl/program at 1:30 p.m. everyday.