From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078718211901.tru64-unix-managers.marc@archive.invalid> From: Scott Mutchler Date: Mon, 24 Aug 1998 16:30:46 +0000 To: tru64-unix-managers Subject: user cron jobs in a disk service X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078718211901 Hello all, We have two 4100's running DU 4.0d (with patch kit 2) and TruCluster 1.5 = (with patch kit 2). We have a disk service that runs a database (Progress)= and makes use of four AdvFS filesets. We have user accounts with home = directories in one of those filesets that need to run cron jobs to take = action against the database, such as loading data and running reports. =20 When the disk service moves to a node, cron on that node needs to "wake = up" and see that it now has jobs to do for these users. The cron on the = other node needs to wake up and see that it should no longer be running = those jobs. We have discovered that cron is different from most daemons = in that kill -1 does not cause it to re-examine its files (in /var/spool/cr= on/crontabs). We are handling this in our failover scripts (the user-defin= ed stop action and start action scripts). We also tried the variation of completely killing and restarting cron. = This works well once the nodes are booted. However, when a node boots, it = runs the stop action script. Our stop action script would look for a cron = to kill, adjust crontab files, then start a new cron. The problem comes = in at /sbin/rc3.d/S57cron, which in turns start up another cron daemon. So my question: how have others of you handled cron jobs in your clusters = that need to move with a disk service? =20 Thank you=20 Scott Mutchler Gordon Food Service Marketplace smutchler@gfs.com