You can schedule system events to execute repetitively, at regular intervals, by using the crontab command.You can schedule a single system event for execution at a specified time by using the at command. Table 59-1 summarizes crontab and at, as well as the files that enable you to control access to these commands.
Table 59-1 Command Summary: Scheduling System Events
Command |
What It Schedules |
Location of Files |
Files That Control Access |
---|---|---|---|
crontab |
Multiple system events at regular intervals |
/usr/spool/cron/crontabs or /var/spool/cron/crontabs |
/etc/cron.d/cron.allow and /etc/cron.d/cron.deny |
at |
A single system event |
/usr/spool/cron/atjobs or /var/spool/cron/atjobs |
/etc/cron.d/at.deny |