Skip to content

Linux at NC State

wiki support   search:

Realm Hooks

This topic has already been touched on in this documentation so I'll be brief. The realm-hooks package is an RPM that configures a client to use a cron system from AFS in addition to the crontabs and directories on the local hard disk. The scripts are specially written not to flood AFS and execute global and departmental cron jobs. This system is used for “emergency ” updates, fixes, and things that just don't work well as an RPM package. To integrate fully into the Linux environment this functionality must be activated by using the Support Eligibility configuration option in realmconfig.

The back end part of this system is located in /afs/bp/system/i386_linux3/athena. Global cron jobs go in the adm/ directory while departmental cron jobs go in a adm.DEPT/ directory. (Of course, DEPT is substituted for your department string.) Each adm*/ directory should have the following directories.

  • cron.daily/ - Daily cron jobs

  • cron.hourly/ - Hourly cron jobs

  • cron.monthly/ - Monthly cron jobs

  • cron.weekly/ - Weekly cron jobs

  • cron.update/ - System updates, run every 4 hours

  • cron.wsr/ - Emergency updates, run every 20 minutes