diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index 1ecd886..595d3be 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -100,4 +100,5 @@ is authorized error authorizing Visit https://console.developers.google.com/ + Run on startup if missed diff --git a/resources/settings.xml b/resources/settings.xml index 69ffe7f..58c1ca7 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -36,6 +36,7 @@ - + + diff --git a/scheduler.py b/scheduler.py index 276df34..b01b507 100644 --- a/scheduler.py +++ b/scheduler.py @@ -34,8 +34,8 @@ class BackupScheduler: fh.close() - #ADD A CHECK HERE FOR IF THE USER EVEN WANTS THIS - if(0 < nr <= time.time()): + #if we missed and the user wants to play catch-up + if(0 < nr <= time.time() and utils.getSetting('schedule_miss') == 'true'): utils.log("scheduled backup was missed, doing it now...") progress_mode = int(utils.getSetting('progress_mode'))