• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

10.6. cron Tasks

Through the Unix cron utilities, you can have your Macintosh run scripts and other programs at scheduled times or regular intervals. While this is a pretty neat feature that offers convenience to users and crucial maintenance-program scheduling for system administrators, Mac OS X doesn't ship with any friendly GUI frontend to the cron utilities. That said, if you can use a text editor (such as any of those described in Chapter 23 or Chapter 24), you can set up cron tasks for yourself or (if you have the right credentials) the whole machine.

cron works courtesy of a clock-watching daemon named crond. When this loads, it reads all the cron tables defined in some standard filesystem locations that contain entries representing lists of times or repeating intervals, with a Darwin command to execute for each entry. On Mac OS X, these tables exist in two locations:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint