[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: schedule parameter?
From: |
Martin, Jason H |
Subject: |
RE: schedule parameter? |
Date: |
Wed, 21 Sep 2005 10:53:47 -0700 |
Does a change in the schedule require restarting cfexecd?
-Jason Martin
> -----Original Message-----
> From:
> help-cfengine-bounces+jason.h.martin=cingular.com@gnu.org
> [mailto:help-cfengine-bounces+jason.h.martin=cingular.com@gnu.
> org] On Behalf Of christian pearce
> Sent: Wednesday, September 21, 2005 10:20 AM
> To: Marco van Beek
> Cc: help-cfengine@gnu.org
> Subject: Re: schedule parameter?
>
>
> What gives you that idea?
>
> Cfexecd queries cfagent for the schedule by running cfagent -qz. See:
>
> [root@chief root]# cfagent -qz
> [Hr12.Min05_10]
>
> Then cfexecd sleeps to see if it should run. At that point
> it calls cfagent. The cfagent waits a random period of time
> between 0 and the splaytime. If the splaytime is defined.
>
> At least this is my understanding. I could be wrong.
>
> On 9/21/05, Marco van Beek <mvanbeek@supporting-role.co.uk> wrote:
> > Hi Paul,
> >
> > It occurs to me that if cfagent is run by cfexecd with a
> splay time,
> > the Min00_05 might be too narrow a band.
> >
> > Regards,
> >
> > Marco.
> >
> > Paul Krizak wrote:
> > > We're running cfengine here at AMD to maintain about
> 10,000 systems.
> > > Until recently we've been running cfagent only once - during
> > > installation - to configure the system. We're now trying to make
> > > the next step of running cfexecd on systems to maintain
> > > configuration.
> > >
> > > Only problem is that apparently the "schedule" parameter is being
> > > very strange.
> > >
> > > I want cfagent to run at 7am every morning. So I have this
> > > statement in my control section:
> > >
> > > schedule = ( Hr07 Min00_05 )
> > >
> > > With the presumption that cfagent ANDs the time classes together
> > > (the docs are very very tight-lipped about how to specify time
> > > classes). What this ended up doing, however, was to make
> cfagent run
> > > at the top of the hour, every hour, and continuously for an hour
> > > (over and over and over
> > > again) during the 7:00 hour. So apparently the time
> classes are ORed,
> > > and cfagent doesn't seem smart enough to know to only run
> once during a
> > > particular time period.
> > >
> > > How do I tell cfengine to run *ONCE* at 7am, and only *ONCE* per
> > > day?
- schedule parameter?, Paul Krizak, 2005/09/21
- Re: schedule parameter?, Brendan Strejcek, 2005/09/21
- Re: schedule parameter?, Matt Brown, 2005/09/21
- Re: schedule parameter?, Brendan Strejcek, 2005/09/21
- Re: schedule parameter?, christian pearce, 2005/09/21
- Re: schedule parameter?, Marco van Beek, 2005/09/21
- RE: schedule parameter?,
Martin, Jason H <=