Hi, On 03-12-10 23:24, Ken Barber wrote: > Looking here and at source: > > http://docs.puppetlabs.com/references/stable/type.html#schedule > > It reads to me that you might be able to use: > > schedule { puppet: period => weekly, repeat => 3 } > > And have it ran three days a week for example, but being specific > about the day does not seem possible.
Thanks, that's what I thought. I have created a custom fact named 'wday', that returns 'Date.today.wday', so I can test for '$wday > 0 and $wday < 6'. Ugly, but it works. Regards, Martijn. > On Dec 2, 9:46 am, Martijn Grendelman <mart...@iphion.nl> wrote: >> Hi, >> >> If I understand correctly, it is not possible to use a Schedule resource >> to prevent a resource from running on certain days (i.e. weekend), only >> hours within any day, is that right? >> >> Best regards, >> Martijn. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.