Skip to main content

Job scheduling for humans.

Project description

Python job scheduling for humans.

An in-process scheduler for periodic jobs that uses the builder pattern for configuration. Schedule lets you run Python functions (or any other callable) periodically at pre-determined intervals using a simple, human-friendly syntax.

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


  • A simple to use API for scheduling jobs.

  • Very lightweight and no external dependencies.

  • Excellent test coverage.

  • Works with Python 2.7 and 3.3


$ pip install schedule
import schedule

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


while 1:


Daniel Bader –

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


0.1.9 (2013-05-27)

  • Added schedule.next_run()

  • Added schedule.idle_seconds()

  • Args passed into do() are forwarded to the job function at call time

  • Increased test coverage to 100%

0.1.8 (2013-05-21)

  • Changed default delay_seconds for schedule.run_all() to 0 (from 60)

  • Increased test coverage

0.1.7 (2013-05-20)

  • API change: renamed schedule.run_all_jobs() to schedule.run_all()

  • API change: renamed schedule.run_pending_jobs() to schedule.run_pending()

  • API change: renamed schedule.clear_all_jobs() to schedule.clear()

  • Added

0.1.6 (2013-05-20)

  • Fix packaging

  • README fixes

0.1.4 (2013-05-20)

  • API change: renamed schedule.tick() to schedule.run_pending_jobs()

  • Updated README and packaging

0.1.0 (2013-05-19)

  • Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schedule-0.1.9.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page