On 3/4/2010 9:21 AM, Matt Richards wrote: > True, only if you have the full crontab available as a file. With cfengine, I > just edit the cron entry directly without pulling the whole file. But, that > is another way to do it. I suppose you could do a > > crontab /var/spool/cron/crontabs/<username> > > Interesting, I never thought to do it that way. It might be more consistent > across platforms than creating different methods for SIGKILL, SIGHUP, restart.
You are really 'supposed' to access crontabs through the api: "crontab -l" to get a copy, "crontab filename" to re-install, 'crontab -e" to edit/reinstall interactively. That (maybe) avoids some race conditions and notifies the daemon of the change. -- Les Mikesell lesmikes...@gmail.com _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine