Forum: CFEngine Help Subject: Re: error in mail, difference when running cf-agent manualy Author: phnakarin Link to topic: https://cfengine.com/forum/read.php?3,23228,23231#msg-23231
Where did you add "immediate()"? cf-execd will execute commands in your executor control body. (exec_command) I presumed it would run failsafe.cf and then promises.cf So to see a result by mail, you might want to run cf-agent -f failsafe.cf && cf-agent Best practise is to use cf-promises looking for errors every time you change the policy. Cheers, --Nakarin _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine