14.9 Checking the Time of the Crontab File

14.10 Removing the Crontab File

The responsibility for scheduling jobs to run is now moved from the application deployment group to the operations group. The user name deploy in the /var/adm/cron.allow file has been replaced by another user name from operations. The user deploy then removes the /var/spool/cron/crontabs/deploy file with the crontab -r command. The /var/spool/cron/crontabs/deploy is simply deleted without any message. Until the operations people create their crontab file, the content of the /var/spool/cron/crontabs directory is reverted back to the state as shown in Figure 115.

Note

Avoid running crontab -r when you are logged in as root. It removes the /var/spool/cron/crontabs/root file. This file usually contains the scheduling of housekeeping jobs like diagnostics of hardware errors. You will have to restore the file from your backup.

14.11 Using Crontab to Append a User's Cron File