9 Periodic Processes

image

The key to staying in control of your system is to automate as many tasks as possible. For example, an adduser program can add new users faster than you can, with a smaller chance of making mistakes. Almost any task can be encoded in a shell, Perl, or expect script.

It’s often useful to have a script or command executed without any human intervention. For example, you might want to have a script verify (say, every half-hour) that your network routers and bridges are working correctly and have it send you email when problems are discovered.1

1Many sites go further than this and dial a pager with a modem, so that an administrator ...

Get UNIX System Administration Handbook, Third Edition 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.