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.
Add a schedule
Section titled “Add a schedule”- Go to Automation → Scheduler.
- 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).
- Click Add.
Each instance has one schedule.
Manage schedules
Section titled “Manage schedules”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).
When a run fails
Section titled “When a run fails”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.
Without Docker
Section titled “Without Docker”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).