help-cfengine
[Top][All Lists]
Advanced

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

Re: Structuring the cfagent for daily tasks


From: Alan Sparks
Subject: Re: Structuring the cfagent for daily tasks
Date: Wed, 17 Apr 2002 06:02:50 -0600 (MDT)

I've created a NIghtlyMaintenance class in my installation:

NightlyMaintenance = ( Hr00 )

and hung those maintenance tasks off of that.  Simple to then force
maintenance by sending cfengine a -DNightlyMaintenance command option.
-Alan


Benny Kjellgren said:
> Hello.
>
> I have used the following way to perform daily tasks (cfagent.conf)
> :
>
> import:
> any::
>   cf.groups
>   cf.site
> Hr00::
>   cf.site_daily
>
> I like this idea that cfagent do not parse daily tasks every time
> cfagent runs. But sometime I want to force a machine to do daily
> tasks (not Hr00).
>
> There is many ways to do this (I think) :
> - "Hr00|myclass_that_force::" Some file that is touched (or not)
> - some options to cfagent
> - design cf.site_daily autonomous and do 'cfagent -f cf.site_daily'
>
> Q: How to make daily tasks that can be forced ? And still have a
> nice structure.
>
> -benny
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine


-- 
Alan Sparks, Sr. UNIX Administrator     asparks@quris.com
Quris, Inc.                             (720) 836-2058





reply via email to

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