Skip to content

feature/windows-start-when-available #589

@hollowhemlock

Description

@hollowhemlock

Feature Request: Add schedule-start-when-available option for Windows Task Scheduler

Image

Problem

When a scheduled backup is missed because the computer was asleep, off, or otherwise unavailable, Windows Task Scheduler does not run the task by default. This means backups can be silently skipped if the machine isn't running at the exact scheduled time.

Proposed Solution

Add a new schedule-start-when-available option (and the corresponding start-when-available in schedule blocks) that enables the Windows Task Scheduler "Start the task as soon as possible after a scheduled start is missed" setting.

Example Configuration

profile:
  backup:
    schedule: "03:00"
    schedule-start-when-available: true

Use Case

Laptop users who may close their laptop or put it to sleep before a scheduled backup
Desktops that may be powered off overnight
Any scenario where the machine might not be running at the scheduled time

Possible Issues

Conflicts with overlapping schedules.

Platform

Windows only (Task Scheduler feature)

###Related
Similar to the existing schedule-ignore-on-battery option which also controls Task Scheduler behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwindowsConcerns only Windows OS

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions