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" }; I simply changed it so it would only fire if the crontab was actually modified. I still think that it shouldnt do anything to "crontab" processes though. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine