# agronholm/apscheduler

Task scheduling library for Python

Repository: https://github.com/agronholm/apscheduler
Canonical: https://ross.abutalabs.com/products/apscheduler
Homepage: https://apscheduler.readthedocs.io/
Language: Python
License: MIT
License Family: permissive
Topics: cron, scheduling, automation, python
Last push: 2026-08-24T23:34:31+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 66, longevity 100
- inputs: {"age_days": 3811, "days_push": 9, "days_rel": 66, "gap_med": 170.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7615, forks 778 (observed 2026-08-28T04:10:02.034006+00:00)

## What it is
APScheduler (Advanced Python Scheduler) is a Python library for scheduling tasks with cron-style, interval, calendar-based, and one-off triggers, doubling as a job queue. It supports persistent job stores (PostgreSQL, MySQL, SQLite, MongoDB), event brokers for multi-node deployments, and both synchronous and asyncio/Trio flavors.

## Use cases
- run a python function every day at 9am
- schedule cron jobs inside a python application
- queue background tasks in asyncio app
- persist scheduled jobs across restarts
- distribute scheduled tasks across multiple workers
- replace crontab with in-process scheduling

## When to choose
- you need in-process task scheduling in Python with cron-like triggers
- you want persistent, shared job stores for high availability
- you need both sync and async (asyncio/Trio) support
- you want a lightweight alternative to external schedulers like Celery beat

## When to avoid
- you need a full distributed task queue with retries and complex routing (consider Celery)
- you want to schedule jobs across non-Python systems
- you plan to use the v4.0 pre-release in production, as it may change incompatibly

## Facets
- artifact type: library
- maturity: active
- function: scheduling, workflow-automation, concurrency
- domain: developer-tools, backend
- platform: python, cross-platform
- tags: cron, task-queue, asyncio, job-scheduler, trio, automation

## Member repositories
- agronholm/apscheduler (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:02.034006+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:36:49.716638+00:00, confidence not recorded.
  - readme: https://github.com/agronholm/apscheduler (fetched 2026-08-28T04:10:02.034006+00:00, sha 7a82748a6453)
  - registry_pypi: https://pypi.org/pypi/apscheduler/json (fetched 2026-08-29T08:32:30.821171+00:00, sha 5b417f5fee20)
- Data as of 2026-08-30T08:39:29.467469+00:00.
