syntax - Puppet: cron schedule - "is not a valid hour" error -
I need to schedule a cron job to run daily between 0 to 6 and 13 to 23 every 30 minutes . I tried this code:
cron {"myself": make sure that & gt; Current, command = & gt; "My-cron-command", user = & gt; 'Root', bell = & gt; "0-6, 13-23", minutes = & gt; '* / 30', Environment = & gt; "MY_ENV"}
this fails
0-6,13-23 is not a valid time
< P> Should I use the hour
format? Do I need any other changes in the Cron Clause?
If you are entering more than one value for any attributes Place them in an array list so, this time will be ['0-6', '13 -23 ']
Comments
Post a Comment