Skip to main content

schedule-ng

https://github.com/Adz-ai/schedule-ng/actions/workflows/ci.yml/badge.svg Coverage: 100%, enforced in CI https://img.shields.io/pypi/v/schedule-ng.svg https://readthedocs.org/projects/schedule-ng/badge/?version=latest https://api.scorecard.dev/projects/github.com/Adz-ai/schedule-ng/badge

Python job scheduling for humans. Run Python functions (or any other callable) periodically using a friendly syntax.

schedule-ng is a maintained, drop-in compatible fork of schedule by Daniel Bader, which has not had a release since 1.2.2 (May 2024). The API is unchanged: existing code keeps working by changing one import.

  • A simple to use API for scheduling jobs, made for humans.

  • In-process scheduler for periodic jobs. No extra processes needed!

  • Very lightweight and no external dependencies.

  • 100% test coverage (lines and branches), enforced in CI.

  • Tested on Python 3.11 to 3.15 on Linux, macOS and Windows, including free-threaded builds.

Usage

$ pip install schedule-ng
import schedule_ng as schedule
import time

def job():
    print("I'm working...")

schedule.every(10).seconds.do(job)
schedule.every(10).minutes.do(job)
schedule.every().hour.do(job)
schedule.every().day.at("10:30").do(job)
schedule.every(5).to(10).minutes.do(job)
schedule.every().monday.do(job)
schedule.every().wednesday.at("13:15").do(job)
schedule.every().day.at("12:42", "Europe/Amsterdam").do(job)
schedule.every().minute.at(":17").do(job)

def job_with_argument(name):
    print(f"I am {name}")

schedule.every(10).seconds.do(job_with_argument, name="Peter")

while True:
    schedule.run_pending()
    time.sleep(1)

Documentation

schedule-ng’s documentation lives at schedule-ng.readthedocs.io.

Migrating from schedule

  1. Replace schedule with schedule-ng in your dependencies.

  2. Replace import schedule with import schedule_ng as schedule.

Behaviour, exceptions and the "schedule" logger name are unchanged. Any behavioural fix is listed in the changelog.

Why a fork?

schedule is used by millions of projects every month, but issues and pull requests have gone unanswered since 2024. This fork exists to keep it working on new Python versions, fix long-standing bugs and review the community’s pull requests, while keeping what made schedule popular: a small, simple, dependency-free API.

If the original project becomes active again, this fork will happily contribute its fixes back upstream.

Meta

Maintained by Adarssh Athithan. schedule was originally created by Daniel Bader. Thanks to him, Sijmen Huizenga and everyone listed in AUTHORS.rst for their work on it.

Please report problems with schedule-ng in its issue tracker, not to the original project.

Inspired by Adam Wiggins’ article “Rethinking Cron” and the clockwork Ruby module.

Distributed under the MIT license. See LICENSE.txt for more information.

Metadata

Release files for schedule-ng 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for schedule-ng 1.5.0
File Size Uploaded
schedule_ng-1.5.0.tar.gz 37.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for schedule-ng 1.5.0
File Interpreter ABI Platform
schedule_ng-1.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 52.4 kB

Release files / schedule_ng-1.5.0.tar.gz

Download URL schedule_ng-1.5.0.tar.gz
Size 37.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3fe01066bf3337ca45cdfc14c8b13a5f43aa98f849e63c7effd06910b29a48f8
BLAKE2b-256 checksum
How to use checksums
ce78f94978f981e1c28c0926e168c9bda9eb65a3b9f8d6d6452e37454ff3c9fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release files / schedule_ng-1.5.0-py3-none-any.whl

Download URL schedule_ng-1.5.0-py3-none-any.whl
Size 14.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff785c317bef9021f569fbdb3179b6b8091e9baba48c965af50b8d9e9f3a4db7
BLAKE2b-256 checksum
How to use checksums
10a8301eb190dd4aa65be34e37f31c0365603d50ce72c8370b934c40ff2ecda4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 release files

1.4.0

2 release files

1.3.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page