DESCRIPTION.rst 614 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Plan
  2. ----
  3. Cron jobs in Python.
  4. Plan is easy
  5. ````````````
  6. Save in a schedule.py:
  7. .. code:: python
  8. from plan import Plan
  9. cron = Plan()
  10. cron.command('ls /tmp', every='1.day', at='12:00')
  11. cron.command('pwd', every='2.month')
  12. cron.command('date', every='weekend')
  13. if __name__ == "__main__":
  14. cron.run()
  15. And run it:
  16. .. code:: bash
  17. $ pip install plan
  18. $ python schedule.py
  19. Links
  20. `````
  21. * `documentation <http://plan.readthedocs.org/>`_
  22. * `github <https://github.com/fengsp/plan>`_
  23. * `development version
  24. <http://github.com/fengsp/plan/zipball/master#egg=plan-dev>`_