Skip to main content

A Python package for writing and deploying cron jobs with a clear and beautiful syntax.

Project description

Cron jobs in Python.

Plan is easy

Save in a schedule.py:

from plan import Plan

cron = Plan()

cron.command('ls /tmp', every='1.day', at='12:00')
cron.command('pwd', every='2.month')
cron.command('date', every='weekend')

if __name__ == "__main__":
    cron.run()

And run it:

$ pip install plan
$ python schedule.py

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

plan-0.5.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

plan-0.5-py2.py3-none-any.whl (19.7 kB view hashes)

Uploaded Python 2 Python 3

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