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. On Mar 4, 2010, at 10:12 AM, Ted Zlatanov wrote: > On Thu, 04 Mar 2010 16:05:04 +0100 Mark Burgess <[email protected]> > wrote: > > MB> I always did a HUP, but I don't have to deal with AIX. From 3.0.4 > MB> cfengine will detach from its parent, so it could kill and restart > MB> cron. > > The other common method besides HUP is to just resubmit the crontab with > "crontab FILENAME", naming a specific user if necessary. > > Ted > _______________________________________________ > Help-cfengine mailing list > [email protected] > https://cfengine.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
