[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Cron Jobs



On Tue, 30 Mar 2010 21:28:46 +0000, "Joseph L. Casale"
<jcasale 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 redhat com
> https://www.redhat.com/mailman/listinfo/linux-cluster


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]