[Linux-cluster] Cron Jobs

Kaloyan Kovachev kkovachev at varna.net
Wed Mar 31 09:16:52 UTC 2010


On Tue, 30 Mar 2010 21:28:46 +0000, "Joseph L. Casale"
<jcasale at activenetwerx.com> wrote:
> Anyone know how I might accomplish keeping cron jobs on the active node?
> I realize I can create the job on all nodes such that it quietly checks
> for status, if it's the active node, it runs but it's much easier to
> maintain my config on the moving fs as I do with httpd/MySQL etc so
> there exists only one copy.
> 

What about adding a 'script' resource on the same service and use status
checks to run your jobs. You may need to increase the status check to 60s
or some other logic (lock file) to avoid running the scripts twice per
minute.

> Thanks for any ideas!
> jlc
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster




More information about the Linux-cluster mailing list