Task
Description
For Instructions
Create or edit a crontab file.
Use the crontab -e command to create or edit a crontab file.
How 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.
How to Verify That a crontab File Exists
Display a crontabfile.
Use the ls -l command to display the crontab file.
How to Display a 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.
How 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.
How to Deny crontab Command Access
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.
How to Limit crontab Command Access to Specified Users