>
> You can also try this:
> https://groups.google.com/forum/#!topic/puppet-users/PZMv4hGpKiM
Cool! Thank you, Keith!
On Tue, Feb 3, 2015 at 7:34 PM, wrote:
>
>
> On Monday, February 2, 2015 at 5:55:58 PM UTC-5, bluethundr wrote:
>
>> Hey all,
>>
>> I'm attempting to setup a cron job via the c
On Monday, February 2, 2015 at 5:55:58 PM UTC-5, bluethundr wrote:
>
> Hey all,
>
> I'm attempting to setup a cron job via the cron resource in puppet.
>
> This is what I'm trying to express via puppet:
>
> */30 * * * * /usr/bin/facter -y > /etc/mcollective/facts.yaml
>
> This is what I've tried
Hey Joey & Christian,
Just like you would when manually adding a cronjob you should have '*/30',
so your resource should look like this.
cron { "facts-cron":
command => "/usr/bin/facter -y > /etc/mcollective/facts.yaml",
user=> 'root',
hour=> 0,
minute => '*/30'
}
Hope this helps!
Hello Tim:
Just like you would when manually adding a cronjob you should have '*/30',
so your resource should look like this.
cron { "facts-cron":
command => "/usr/bin/facter -y > /etc/mcollective/facts.yaml",
user=> 'root',
hour=> 0,
minute => '*/30'
}
Hope this helps!
Joey