Skip to main content

schedule-ng

https://github.com/Adz-ai/schedule-ng/actions/workflows/ci.yml/badge.svg 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.

  • Excellent test coverage.

  • 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.4.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.4.0
File Size Uploaded
schedule_ng-1.4.0.tar.gz 31.6 kB Details

Built distribution (wheel)

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

Total release size: 44.4 kB

Release files / schedule_ng-1.4.0.tar.gz

Download URL schedule_ng-1.4.0.tar.gz
Size 31.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bb387358fac0d5747ec9ebb6bdf8fe1e8bd813908a29dd4f184f131d16df315d
BLAKE2b-256 checksum
How to use checksums
59d13aca74a0e9df81b9673e6f2faee8967e146cd65d9045fb697fc31fa8b1f4
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.4.0-py3-none-any.whl

Download URL schedule_ng-1.4.0-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33c9a9b10a621e3a4238f06d2532643115f4274778645ff7eaf0baa7294cc516
BLAKE2b-256 checksum
How to use checksums
4a23728864b12fd246933a462451027afaed948cb107e20b34aa345482fd4c61
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

1.5.0

2 release files

This release

1.4.0 This release

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