Describe the bug
When the laptop lid is closed and the system sleeps, the scheduled backup (understandably) does not run. However, when the lid is reopened and the system wakes, no backup fires even if the configured interval has already passed. The next backup only runs after another full interval elapses from the wake time.
Expected behavior
On wake from sleep, if the time since the last successful backup exceeds the configured interval, a backup should trigger promptly (possibly with a brief delay to allow network reconnection).
Actual behavior
No backup fires on wake. The daemon appears to restart the full interval timer from the moment of wake rather than checking whether the interval has already been exceeded.
Config (relevant yaml section)
schedule:
enabled: true
every: "2h"
on_startup: true
Environment
OS: macOS Tahoe 26.3.1
Vykar version: 0.12.13
Possible fix
???
Describe the bug
When the laptop lid is closed and the system sleeps, the scheduled backup (understandably) does not run. However, when the lid is reopened and the system wakes, no backup fires even if the configured interval has already passed. The next backup only runs after another full interval elapses from the wake time.
Expected behavior
On wake from sleep, if the time since the last successful backup exceeds the configured interval, a backup should trigger promptly (possibly with a brief delay to allow network reconnection).
Actual behavior
No backup fires on wake. The daemon appears to restart the full interval timer from the moment of wake rather than checking whether the interval has already been exceeded.
Config (relevant yaml section)
Environment
OS: macOS Tahoe 26.3.1
Vykar version: 0.12.13
Possible fix
???