Forum: Cfengine Help
Subject: Edit crontabs - was cfengine/puppet choice
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,18633,20887#msg-20887

Sorry for the delay in replying. I've been travelling, I made a cronjob method 
in the standard library, so that adding cron is simple:

bundle agent test
{
methods:

  # cronjob(command,user,hours,mins)

  "cron" usebundle => cronjob("/bin/ls","mark","*","5,10");
  "cron" usebundle => cronjob("/bin/pwd","root","*","5,10,15");
}

etc. Hopefully this makes it simple.

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

Reply via email to