O'Reilly logo

SAMS Teach Yourself Unix in 10 Minutes by Robert Shimonski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using cron

As mentioned earlier in the lesson, the cron process (also called the cron daemon) executes commands at specific dates and times. You can use cron to schedule activities, either as one-time events or as recurring tasks. Remember, if you want to attempt to work with cron, you may have to request to do so. On most systems, you must get permission from the system administrator before you can submit job requests to cron. Similarly, on some shared systems, because there is only one crontab file, only the administrator has access to the crontab command.

As mentioned earlier, for commands that need to be executed repeatedly (for example, hourly, daily, or weekly), you can use the crontab command. The crontab command creates a crontab file ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required