Skip to content

Scheduler silently skips missed runs (no misfire grace, no coalescing) #292

Description

@rfsbraz

Description

add_job in app/scheduler.py sets neither misfire_grace_time nor coalesce. APScheduler's default grace period is 1 second: if the host was asleep at the scheduled time, or the previous run overran, the job is dropped with only an internal APScheduler warning - nothing in deleterr's own logs or notifications.

Failure Scenario

A weekly cleanup scheduled for 3 AM on a NAS that sleeps overnight is skipped every single week. The user believes cleanup is happening; disk usage says otherwise. Nothing ever surfaces the misses.

Proposed Fix

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions