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.5.tar.gz
(15.9 kB
view details)
Built Distribution
plan-0.5-py2.py3-none-any.whl
(19.7 kB
view details)
File details
Details for the file plan-0.5.tar.gz
.
File metadata
- Download URL: plan-0.5.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46aff63506e9dbbcabfd31271a25916ee556b6cc0ae21ab4d26bc6bf6eff59e1 |
|
MD5 | 223255c02ddda7b88a2a3ab93e8f0a06 |
|
BLAKE2b-256 | ca1cbf6d242db9d21052be9c2e33c0a3cdee48a1591cb1298fa7245490b4824b |
File details
Details for the file plan-0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: plan-0.5-py2.py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf95c672c7e5242f91f4df951c059946c7c43e3143760327401637f695e9d21e |
|
MD5 | c01c03c7f8915f0317299e0d43877455 |
|
BLAKE2b-256 | 32e8114635e74c672143dc96a7d9ff26c38a030fc6809a86e504f1a0611b29f6 |