zer...@gmail.com
unread,Sep 29, 2013, 4:11:20 PM9/29/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Having the following bundle:
vars:
any::
"state_file" string => "$(g.state_custom_dir)/bundle_cfengine_ping";
files:
"$(state_file)"
edit_line => insert_lines("$(sys.date)"),
edit_defaults => empty,
classes => if_repaired("bundle_cfengine_ping_changed_state"),
create => "true",
action => action_daily;
body action action_daily {
ifelapsed => "1440";
}
The `files` promise is checked every run, regardless of specified `ifelapsed`.
Why is that?
The original task is:
to run a `report` promise with unique text (it changes from run to run, assume it as `$(sys.date)`)daily.