Forum: CFEngine Help
Subject: Re: How to run a command every two hours?
Author: myabdemon
Link to topic: https://cfengine.com/forum/read.php?3,23176,23187#msg-23187

@neilhwatson 

I do not have if_elapsed in library.cf, but I add it, like this.

body action if_elapsed(x)
{
ifelapsed => "$(x)";
expireafter => "$(x)";
}

I am not sure it works or not. Let's see tomorrow.

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

Reply via email to