Skip to main content

Job scheduling for humans.

Project description

Python job scheduling for humans. Inspired by Adam Wiggins’ clockwork.

Installation

$ pip install schedule

Usage

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

schedule.every(10).minutes.do(job)
schedule.every().hour.do(job)
schedule.every().day.at("10:30").do(job)

while 1:
    schedule.run_pending_jobs()
    time.sleep(1)

Meta

Daniel Bader – mail@dbader.org

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

https://github.com/dbader/schedule

History

0.1.5 (2013-05-20)

  • README fixes

0.1.4 (2013-05-20)

  • Renamed schedule.tick() to schedule.run_pending_jobs()

  • Updated README and setup.py 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.5.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file schedule-0.1.5.tar.gz.

File metadata

  • Download URL: schedule-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for schedule-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b35d11f85ea23141e3cfc51c71218f2ab733895a8139b289a7ea7dadccd50a24
MD5 fa2f34cb8ca18bd33abc27c3f637d339
BLAKE2b-256 c15914a382669843680794e135c28fe9e8e52b8c19a0c1789127bd30fda23ae9

See more details on using hashes here.

Supported by

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