Re: Cron Jobs

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

 



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

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux