Forum: CFEngine Help Subject: Re: How to run a command every two hours? Author: mark Link to topic: https://cfengine.com/forum/read.php?3,23176,23194#msg-23194
if_elapsed works just fine for commands. Including the body explicitly or the standard library should make no difference. Don't forget that if_elapsed is based on real time, so if you are combining this with time classes, they will take priority and you might not see the effect of if_elapsed. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine