|
|||
1. Managing Terminals and Modems (Overview) 2. Setting Up Terminals and Modems (Tasks) 3. Managing Serial Ports With the Service Access Facility (Tasks) 4. Managing System Resources (Overview) 5. Displaying and Changing System Information (Tasks) 8. Scheduling System Tasks (Tasks) Creating and Editing crontab Files (Task Map) Ways to Automatically Execute System Tasks Scheduling a Repetitive System Task (cron) Creating and Editing crontab Files How to Create or Edit a crontab File How to Verify That a crontab File Exists Controlling Access to the crontab Command How to Deny crontab Command Access How to Limit crontab Command Access to Specified Users Using the at Command (Task Map) Scheduling a Single System Task (at) How to Deny Access to the at Command How to Verify That at Command Access Is Denied 9. Managing System Accounting (Tasks) 10. System Accounting (Reference) 11. Managing System Performance (Overview) 12. Managing System Processes (Tasks) 13. Monitoring System Performance (Tasks) 14. Troubleshooting Software Problems (Overview) 16. Managing Core Files (Tasks) 17. Managing System Crash Information (Tasks) 18. Troubleshooting Miscellaneous Software Problems (Tasks) 19. Troubleshooting File Access Problems (Tasks) 20. Resolving UFS File System Inconsistencies (Tasks) |
Removing crontab FilesBy default, crontab file protections are set up so that you cannot inadvertently delete a crontab file by using the rm command. Instead, use the crontab -r command to remove crontab files. By default, the crontab -r command removes your own crontab file. You do not have to change the directory to /var/spool/cron/crontabs (where crontab files are located) to use this command. How to Remove a crontab FileBefore You BeginBecome superuser or assume an equivalent role to remove a crontab file that belongs to root or another user. Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services. You do not need to become superuser or assume an equivalent role to remove your own crontab file.
The following example shows how user smith uses the crontab -r command to remove his crontab file. $ ls /var/spool/cron/crontabs adm jones lp root smith sys uucp $ crontab -r $ ls /var/spool/cron/crontabs adm jones lp root sys uucp |
||
|