On 02/01/2012 09:50 AM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: cfengine causing crontab -e to crash..? > Author: towster > Link to topic: https://cfengine.com/forum/read.php?3,24693,24704#msg-24704 > > Wow. Ok here is what was going on. > > In cfengine_stdlib.cf there is a bundle "cronjob" that adds a new cron entry > and will HUP "cron". > I needed to remove a cronjob and there is no bundle in the stdlib to do that. > I copied the bundle > out of the stdlib and created a similar but opposite bundle to remove the > cron jobs. > > Now this stanza was firing every run and for some reason picking up not just > "cron" but also "crontab" > > processes: > "cron" > comment => "Most crons need to be huped after file changes", > signals => { "hup" };
cron will match on crontab as well. I think it will also match if you did vim mycronfile since cron was in the process string. -- Nick Anderson <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine