Skip to main content

A simple cron-like library for executing scheduled jobs.

Project description

# Donkey [WIP]

[![Build Status](](

A simple cron-like library for executing scheduled jobs.

Donkey is inspired by [Cron][cron-go].


from datetime import datetime
from donkey import JobQueue, Worker

q = JobQueue()

def this_job_runs_every_3_seconds():

def this_job_runs_every_5_seconds():

# Fuzz 2015-02-03 16:41:01.408136
# Buzz 2015-02-03 16:41:03.404123
# Fuzz 2015-02-03 16:41:04.406813
# Fuzz 2015-02-03 16:41:07.408426
# Buzz 2015-02-03 16:41:08.406851
# Fuzz 2015-02-03 16:41:10.408415
# Fuzz 2015-02-03 16:41:13.403260
# Buzz 2015-02-03 16:41:13.403319


- [x] tests.
- [ ] add jobs at run time.
- [ ] job states & stats (see [rq][rq]).
- [ ] other backend (namely `thread`, `stackless`) support.


## License


Project details

Download files

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

Files for donkey, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size donkey-0.0.2.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page