---
name: "Run durable Python agent schedules with APScheduler"
slug: "run-durable-python-agent-schedules-with-apscheduler"
description: "Schedule recurring, interval, calendar, and one-off Python agent jobs with persistent job stores so background workflows survive restarts."
github_stars: 7547
verification: "security_reviewed"
source: "https://github.com/agronholm/apscheduler"
author: "agronholm"
publisher_type: "individual"
category: "Templates & Workflows"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "agronholm/apscheduler"
  github_stars: 7547
---

# Run durable Python agent schedules with APScheduler

Schedule recurring, interval, calendar, and one-off Python agent jobs with persistent job stores so background workflows survive restarts.

## Prerequisites

Python, APScheduler, optional persistent data store such as PostgreSQL, MySQL, SQLite, MongoDB, Redis, MQTT, or a Python web service runtime

## Installation

Requirements and caveats from upstream:
- Advanced Python Scheduler (APScheduler) is a task scheduler and task queue system for
- Python. It can be used solely as a job queuing system if you have no need for task
- node restarts.

Basic usage or getting-started notes:
- Jitter (adjustable, random delays added to the run time of each scheduled job)

- Source: https://github.com/agronholm/apscheduler
- Extracted from upstream docs: https://raw.githubusercontent.com/agronholm/apscheduler/HEAD/README.rst

## Documentation

- https://apscheduler.readthedocs.io/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/run-durable-python-agent-schedules-with-apscheduler/)
