Re: [Pacemaker] crond on both nodes (active/passive) but some jobs on active only

2013-07-05 Thread andreas graeper
thanks a lot ! 2013/7/5 Lars Ellenberg > On Fri, Jul 05, 2013 at 04:52:35PM +0200, andreas graeper wrote: > > when i wrote a script handled by ocf:heartbeat:anything i.e. that is > > signalling the cron-daemon to reload crontabs > > when crontab file is enabled by symlink:start and disabled by

Re: [Pacemaker] crond on both nodes (active/passive) but some jobs on active only

2013-07-05 Thread Lars Ellenberg
On Fri, Jul 05, 2013 at 04:52:35PM +0200, andreas graeper wrote: > when i wrote a script handled by ocf:heartbeat:anything i.e. that is > signalling the cron-daemon to reload crontabs > when crontab file is enabled by symlink:start and disabled by symlink:stop > > how can i achieve that the script

Re: [Pacemaker] crond on both nodes (active/passive) but some jobs on active only

2013-07-05 Thread andreas graeper
when i wrote a script handled by ocf:heartbeat:anything i.e. that is signalling the cron-daemon to reload crontabs when crontab file is enabled by symlink:start and disabled by symlink:stop how can i achieve that the script runs after symlink :start and :stop ? when i define order-constraint R1 th

[Pacemaker] crond on both nodes (active/passive) but some jobs on active only

2013-07-05 Thread andreas graeper
hi, two nodes active/passive and fetchmail as cronjob shall run on active only. i use ocf:heartbeat:symlink to move / rename /etc/cron.d/jobs <> /etc/cron.d/jobs.disable i read anywhere crond ignores files with dot. but new experience: crond needs to restarted or signalled. how this is done be