METADATA 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Metadata-Version: 2.0
  2. Name: plan
  3. Version: 0.5
  4. Summary: A Python package for writing and deploying cron jobs with a clear and beautiful syntax.
  5. Home-page: https://github.com/fengsp/plan
  6. Author: Shipeng Feng
  7. Author-email: fsp261@gmail.com
  8. License: BSD
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: BSD License
  13. Classifier: Programming Language :: Python
  14. Classifier: Programming Language :: Python :: 2.6
  15. Classifier: Programming Language :: Python :: 2.7
  16. Classifier: Programming Language :: Python :: 3
  17. Classifier: Programming Language :: Python :: 3.3
  18. Classifier: Programming Language :: Python :: 3.4
  19. Requires-Dist: click (>=2.1)
  20. Plan
  21. ----
  22. Cron jobs in Python.
  23. Plan is easy
  24. ````````````
  25. Save in a schedule.py:
  26. .. code:: python
  27. from plan import Plan
  28. cron = Plan()
  29. cron.command('ls /tmp', every='1.day', at='12:00')
  30. cron.command('pwd', every='2.month')
  31. cron.command('date', every='weekend')
  32. if __name__ == "__main__":
  33. cron.run()
  34. And run it:
  35. .. code:: bash
  36. $ pip install plan
  37. $ python schedule.py
  38. Links
  39. `````
  40. * `documentation <http://plan.readthedocs.org/>`_
  41. * `github <https://github.com/fengsp/plan>`_
  42. * `development version
  43. <http://github.com/fengsp/plan/zipball/master#egg=plan-dev>`_