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

Supported by

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