Chapter 24. Automating Jobs

Chapter Syllabus

  • 24.1 Introduction to cron

  • 24.2 Automating Jobs Using the crontab Command

  • 24.3 Automating Jobs Using the at Command

Routine system administration tasks should be done on a regular basis. For example, you must clean out temporary files and trim system log files; otherwise, file systems will become full. Similarly, system backup is an important task that is done on a regular basis, as you have studied in Chapter 23. Some of these tasks may take a long time, and it is not practical to carry out these tasks manually. You can also schedule a task that is to be done on a regular basis. An example of this may be the preparation of weekly or monthly reports. Other than these routine tasks that are carried out repeatedly, ...

Get HP-Certified HP-UX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.