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
Links
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.4.tar.gz
(15.7 kB
view hashes)
Built Distribution
plan-0.4-py2.py3-none-any.whl
(19.4 kB
view hashes)