[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

schedule parameter?

From: Paul Krizak
Subject: schedule parameter?
Date: Wed, 21 Sep 2005 10:20:45 -0500
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

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?


Paul Krizak                         5900 E. Ben White Blvd. MS 625
Advanced Micro Devices              Austin, Tx  78741
CAD Systems Engineering             Phone: (512) 602-8775

reply via email to

[Prev in Thread] Current Thread [Next in Thread]