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

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.9 to 3.14 on Linux, macOS and Windows.

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)

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.3.1

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.3.1
File Size Uploaded
schedule_ng-1.3.1.tar.gz 29.9 kB Details

Built distribution (wheel)

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

Total release size: 42.2 kB

Release files / schedule_ng-1.3.1.tar.gz

Download URL schedule_ng-1.3.1.tar.gz
Size 29.9 kB
Tags Source
SHA-256 checksum
How to use checksums
afc116ece150ad3e8ad2f9086e78204a99655609891cf3b038e5f03bb34402d7
BLAKE2b-256 checksum
How to use checksums
7990f1b716081ad8aa1a34e6b558dff82d82aba8d7762ff2d039b968929ef8b8
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.3.1-py3-none-any.whl

Download URL schedule_ng-1.3.1-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d77f7b897340e34d002d6f41da2353d4538b7a1fc5e8dc8488847edd08d8c442
BLAKE2b-256 checksum
How to use checksums
341800655f671616ead1fc790eb8411320cb8d8821a93098892060ab8d5807d0
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

1.4.0

2 release files

This release

1.3.1 This release

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