Re:Re: How to ensure cf-agent run as expected

2010-03-03 Thread liuyidaojian
Thanks Watson, Seems we can combine cf-runagent and cf-execd, just let cf-runagent ensure cf-execd in the crontab and this is cheap. Thanks, Ping. 在2010-03-03?22:55:05,nwat...@symcor.com?写道: >Use?edit?files?to?add?a?cf-execd?cron?entry.??There?are?examples?on?this? >list?and?in?online?document

Re: How to ensure cf-agent run as expected

2010-03-03 Thread NWatson
Use edit files to add a cf-execd cron entry. There are examples on this list and in online documentation. The runagent control section and the server access_rules control how the runagent will work. Performance depends one what the agent is doing. Some promises are cheap others are expensive.

How to ensure cf-agent run as expected

2010-03-03 Thread liuyidaojian
hi, I am a newbee to cfengine and just go through the refrence and tutorial. There are two ways to run cf-agent: a) install cf-execd in crontab on every agent machine. b) use cf-runagent to trigger. My question is how to ensure cf-agent there(in case someone remove the dir) and run as expect