bug-cfengine
[Top][All Lists]
Advanced

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

Cfexecd enhancements


From: Bas van der Vlies
Subject: Cfexecd enhancements
Date: Thu, 28 Mar 2002 11:09:02 +0100 (MET)

I'am using the standalone cfexecd-daemon. So that cfexecd can check if cron is
running and visa-versa.

I run cfagent 4 times an hour with the follwing setup:
groups:
  Quarterly     = ( Min15_20 Min30_35 Min45_50 Hourly QTest HTest )

control:
  schedule = (  Min00_05 Min15_20 Min30_35 Min45_50 )
  IfElapsed = ( 1 )


In this situation cfagent will run about 17 times in a hour. I know i can set 
IfElapsed = 5 or higher will prevent cfagent to do something. But i only want to
run cfagent once in that period. Can this be done?

My second remark is if i update the cfagent.conf and in cfagent.conf there is a
new schedule,sysadm or smtpserver. It will not be seen until we restart the
daemon. Can the cfexecd not reread its variables? It can be easily be done to
put the GetCfStuff() function inside the while loop.
  


--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: address@hidden      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                     WWW:    www.sara.nl       *
*                                                                  *
********************************************************************



reply via email to

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