Task |
Description |
For Instructions |
---|---|---|
Create or edit a crontab file. |
Use the crontab -e command to create or edit a crontab file. | |
Verify that a crontab file exists. |
Use the ls -l command to verify the contents of the /var/spool/cron/crontabs file. | |
Display a crontabfile. |
Use the ls -l command to display the crontab file. | |
Remove a crontab file |
The crontab file is set up with restrictive permissions Use the crontab -r command, rather than the rm command to remove a crontab file. | |
Deny crontab access |
To deny users access to crontab commands, add user names to the /etc/cron.d/cron.deny file by editing this file. | |
Limit crontab access to specified users. |
To allow users access to the crontab command, add user names to the /etc/cron.d/cron.allow file. |