Skip to content

Scheduled analyses

Scheduled analyses run in the background. The Docker image starts a dedicated scheduler process next to the web UI, so schedules fire even when nobody has the app open. Results are saved to history.

  1. Go to Automation → Scheduler.
  2. Under Add schedule, pick the instance, a frequency (1 h, 6 h, 12 h, 1 d, 2 d, 3 d or 7 d) and a mode (full or fast).
  3. Click Add.

Each instance has one schedule.

Each schedule is a card. Change its frequency or mode in place (saved immediately), Run now, Pause / Resume, or delete it. The card shows the next run and the last run with its result and duration, and the error if it failed.

The scheduler checks for due schedules every minute (SONARR_ANALYZER_SCHEDULER_POLL).

A failed run waits for the next period instead of retrying immediately. A scheduled analysis where some series failed to load is reported as an error and not saved, so a partial result can’t show a fake storage drop or skew the forecast.

Deleting an instance deletes its schedule. Schedules of disabled or deleted users don’t run.

With streamlit run app.py, a scheduler thread starts with the first page load instead of a separate process. You can also run the scheduler on its own with python -m sonarr_analyzer.scheduler; then set SONARR_ANALYZER_SCHEDULER=0 for the web app so it doesn’t start a second one (the Docker entrypoint does exactly this).

Sonarr Analyzer v0.7.0 · GitHub · Docker Hub ·Report an issue

No trackers · MIT License · © Carlos Medina · Not affiliated with Sonarr