Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,23442,23488#msg-23488
neilhwatson Wrote:
---
> You can design your Cf policy to allow multiple
> groups to contribut
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23442,23473#msg-23473
You can design your Cf policy to allow multiple groups to contribute with
limited interference. For example read two cron files, one of yo
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: mikesphar
Link to topic: https://cfengine.com/forum/read.php?3,23442,23472#msg-23472
All very valid points. My experiences are mostly in development and
develop-in-production environments where I simply cannot take 100% cont
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: sauer
Link to topic: https://cfengine.com/forum/read.php?3,23442,23471#msg-23471
The suggestion to use cron.d is only superficially different from adding lines
to a file; you're still combining a bunch of small parts into a la
On 14-09-11 12:29, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: inserting lines into crontab
> Author: davidlee
> Link to topic: https://cfengine.com/forum/read.php?3,23442,23466#msg-23466
>
> Neil: Thanks for your second reply. What my team members would like is the
> capa
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23442,23467#msg-23467
Ryan's approach can become extremely difficult to do. You can end up having to
craft wild regular expressions to account for what should n
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,23442,23466#msg-23466
Neil: Thanks for your second reply. What my team members would like is the
capability simply to maintain a centralised repository of crontab
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: ryanwilliams
Link to topic: https://cfengine.com/forum/read.php?3,23442,23462#msg-23462
bundle agent crontab_my_job
{
files:
host_domain_net_au::
"/etc/crontab"
edit_line => cron_my_job;
}
bundle edit_line
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23442,23455#msg-23455
davidlee Wrote:
---
> Technically: while that handles adding the lines
> in the first pl
Before you get started on this, I think you should ask yourself this:
1) Do I want to maintain all of crontab (regardless of which machine gets what)
with CFEngine, or
2) Do I want to maintain a PART of crontab with CFEngine (and handle machine
differences manually on each machine)
Personally,
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: davidlee
Link to topic: https://cfengine.com/forum/read.php?3,23442,23447#msg-23447
Neil: Thanks for the reply, about defining a list in cfengine and appending
that. There are two drawbacks for us, one technical, the other po
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23442,23446#msg-23446
Another option is to use Cfengine time classes as an entire cron replacement.
___
Help-cfengine
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: mikesphar
Link to topic: https://cfengine.com/forum/read.php?3,23442,23445#msg-23445
I know this isn't exactly what you asked about, but I would *strongly*
encourage people to consider using /etc/cron.d (assuming one's OS supp
Forum: CFEngine Help
Subject: Re: inserting lines into crontab
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,23442,23444#msg-23444
You could just append a list to a cron file.
http://watson-wilson.ca/2011/05/managing-crontables-with-cfengine.html
___
14 matches
Mail list logo