ivanIStereotekk / cronpy

Lightweight Python task scheduler with easy syntax

Home Page:https://pypi.python.org/pypi/cronpy/0.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Lightweight Python task scheduler with easy syntax

https://pypi.python.org/pypi/cronpy/0.1

License:Other


Languages

Language:Python 100.0%