I can think of a couple of ways...

1) have the start/stop functions insert/remove crontab entries
or
2) have a recurring task with an interval of perhaps 1hr and based on
the hour, do the backup.

On 5/21/07, Knight, Doug <[EMAIL PROTECTED]> wrote:

 Is it possible to configure heartbeat to trigger a job that would normally
be triggered as a cronjob? For instance, I have a database maintenance
script that only runs once a night during a non-peak period. It assumes that
it is running on a server where the database is available. What I'd like to
be able to do is configure heartbeat to trigger this job once a day, just
like crontab is currently doing, but ONLY on the server where the database
is currently running and managed by heartbeat. I plan on modifying the
crontab script to become an LSB/OCF type script accessible by heartbeat.

 Doug Knight
 WSI, Inc.
 Andover, MA
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to