Forum: Cfengine Help
Subject: Re: How to modify a global list
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,21589,21609#msg-21609

neilhwatson Wrote:
-------------------------------------------------------
> sauer Wrote:
> --------------------------------------------------
> -----
> > On a related note, I'd be marginally concerned
> > about the problem which would happen if you
> > later change the time on a command

> Off the top of my head I would change original
> entry and add a policy to delete the old entry.
> After some time the delete policy could be removed.

Well, yeah.  I meant it'd be marginally difficult to solve that problem in a 
generic way within the bundle that adds crontab entries. :)  You'd have to 
identify the command, remove any similar lines, and possibly provide a 
mechanism for exception / or merging of the ranges in the event that it was 
actually desirable to have two calls to the same program in the crontab.  It's 
easy to take care of the people who *know* what they're doing. :D

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to