1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-09-20 01:10:35 +00:00

add note about range notation to README

This commit is contained in:
Norbert Varzariu 2016-01-22 10:28:10 +01:00
parent bc3a33e6f0
commit d57d87532b

View File

@ -240,6 +240,9 @@ Default is:
Hash. Set time ranges for different backup levels. Each item (minute, hour...) allows for cron notation, an array to pick a random time from and a range to pick a random time from.
The range notation is '$start..$end', so to pick a random hour from 8 pm to 2 am, you could set the hour of your desired backup level to
`[ '20..23','0..2' ]`
For the range feature to work, hours >0 and <10 must not have a preceding zero.
Wrong: `00.09`
Correct: `0..9`
Example:
```puppet