Forum: Cfengine Help
Subject: Re: Cfengine in crontab
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,17608,17611#msg-17611

I like to use cf-execd from crontab only to check if cf-execd is running in 
memory. I have a bundle which already does this check, but I define a class to 
abort the rest of the the rest of the run when running from crontab, eg

cf-execd -F -Dcheck_execd

Running this from cron only does the check of cf-execd and then bails the rest 
of the scheduled run. This way, and am assured that my cf process are always 
running one way or the other.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to