cronpy

Lightweight Python task scheduler with easy syntax.


License
Other
Install
pip install cronpy==0.1

Documentation

CronPy

Build Status Coverage Status

Features

  • Flexible scheduling
  • Convenience functions
  • Easily run all jobs with a certain tag.

Sample Code

def task():
    print("CronPy is working!")

cronpy.new_task().every_day().at("9:00").do(task)
cronpy.new_task().every_day().at_hours("0-23").do(task)
cronpy.new_task().on_days("0-4").at_hours("9-17").at_minutes("15, 45").do(task)

cronpy.run_continuously()

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Acknowledgments

This software was inspired by Dan Bader's schedule project. His work can be found at https://github.com/dbader/schedule.