mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-11-10 00:00:35 +00:00
Fix: monthday in cronjob cannot be 0
At least according to `man 5 cronjob` (and also Wikipedia ;) the day of month can only be 1-31. When the script created a cron.d file with a 0 at that position the script would not run at all.
This commit is contained in:
parent
c7e02c53dd
commit
4820ededfa
@ -96,7 +96,7 @@ class rsnapshot::params {
|
||||
monthly => {
|
||||
minute => '0..59',
|
||||
hour => '0..23', # you could also do: ['21..23','0..4','5'],
|
||||
monthday => '0..28',
|
||||
monthday => '1..28',
|
||||
month => '*',
|
||||
weekday => '*',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user