Hi! I had written some script to patch a crontab in HP-UX to enable and disable specific entries. For Linux the ISC cron is more flexible, and I write an RA to enable or disable specific cron entries. So it has to do nothing with "actve nodes", but it can be started and stopped as a usual resource...
<longdesc lang="en">OCF Resource Agent managing crontabs for ISC cron This RA manages crontabs for the ISC cron daemon by managing links to specific crontabs in /etc/cron.d. The "start" method adds a symbolic link for the specified crontab file to /etc/cron.d, while the "stop" method removes that link again. The "monitor" method tests if a link for the specified crontab exists in /etc/cron.d. </longdesc> Regards, Ulrich >>> "Stefan K" <shado...@gmx.net> schrieb am 10.07.2018 um 11:49 in Nachricht <trinity-4d0ebc7c-170c-4c10-b4b9-3102ccf74949-1531216186256@3c-app-gmx-bs41>: > Hello, > > is it somehow possible to have a cronjob active only on the active node? > > best regards > Stefan > _______________________________________________ > Users mailing list: Users@clusterlabs.org > https://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org _______________________________________________ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org