Metadata-Version: 2.0
Name: plan
Version: 0.5
Summary: A Python package for writing and deploying cron jobs with a clear and beautiful syntax.
Home-page: https://github.com/fengsp/plan
Author: Shipeng Feng
Author-email: fsp261@gmail.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: click (>=2.1)
Plan
----
Cron jobs in Python.
Plan is easy
````````````
Save in a schedule.py:
.. code:: python
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:
.. code:: bash
$ pip install plan
$ python schedule.py
Links
`````
* `documentation `_
* `github `_
* `development version
`_