mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-23 22:18:10 +01:00
Properly handle BACKUP_BEGIN plus values
This commit is contained in:
@@ -24,7 +24,7 @@ else
|
|||||||
|
|
||||||
if [[ "${backup_job_backup_begin}" =~ ^\+(.*)$ ]]; then
|
if [[ "${backup_job_backup_begin}" =~ ^\+(.*)$ ]]; then
|
||||||
print_debug "BACKUP_BEGIN is a jump of minute starting with +"
|
print_debug "BACKUP_BEGIN is a jump of minute starting with +"
|
||||||
timer plus_value
|
timer plusvalue
|
||||||
elif [[ "${backup_job_backup_begin}" =~ ^[0-9]{4}$ ]]; then
|
elif [[ "${backup_job_backup_begin}" =~ ^[0-9]{4}$ ]]; then
|
||||||
print_debug "BACKUP_BEGIN is a HHMM value"
|
print_debug "BACKUP_BEGIN is a HHMM value"
|
||||||
timer time
|
timer time
|
||||||
|
|||||||
Reference in New Issue
Block a user