File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 95
95
command => " ${rsnapshot::server::cmd_rsnapshot} -c ${config_file} daily" ,
96
96
user => $server_user ,
97
97
hour => $backup_time_hour ,
98
- minute => $backup_time_minute
98
+ minute => ( $backup_time_minute + 50) % 60
99
99
} ->
100
100
101
101
# # weekly
102
102
cron { " rsnapshot-${name} -weekly" :
103
103
command => " ${rsnapshot::server::cmd_rsnapshot} -c ${config_file} weekly" ,
104
104
user => $server_user ,
105
105
hour => ($backup_time_hour + 3) % 24,
106
- minute => $backup_time_minute ,
106
+ minute => ( $backup_time_minute + 50) % 60 ,
107
107
weekday => $backup_time_weekday
108
108
} ->
109
109
110
110
# # monthly
111
111
cron { " rsnapshot-${name} -monthly" :
112
112
command => " ${rsnapshot::server::cmd_rsnapshot} -c ${config_file} monthly" ,
113
113
user => $server_user ,
114
- hour => ($backup_time_hour + 6 ) % 24,
115
- minute => $backup_time_minute ,
114
+ hour => ($backup_time_hour + 7 ) % 24,
115
+ minute => ( $backup_time_minute + 50) % 60 ,
116
116
monthday => $backup_time_dom
117
117
}
118
118
You can’t perform that action at this time.
0 commit comments