Automating Jobs at System Startup or Shutdown

UNIX provides great flexibility in allowing jobs to run automatically, based either on system events or on time and date. Some of these mechanisms are only for the root user (system administrator), but many of them can be used by all users. The following sections describe the most common functions that can be performed by the root user only.

Automating Jobs at System Startup on System V UNIX

The root user (only) can customize and add to the jobs that are run automatically at system bootup. Some systems use the System V method; others (even some SVR4 systems) use the BSD method.

Warning

The rc2.d directory, or other rc directories, should not be modified by beginners. Errors could prevent the system ...

Get Practical UNIX 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.