Skip to content

Create scheduled tasks at runtime easily (Django, Flask, Bottle etc.)

License

Notifications You must be signed in to change notification settings

baranbartu/pyscheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0b9242c · Jun 30, 2016

History

8 Commits
Jun 30, 2016
Jun 30, 2016
Jun 30, 2016
Jun 30, 2016
Jun 30, 2016
Jun 29, 2016
Jun 30, 2016

Repository files navigation

pyscheduler

Task Scheduler

Create scheduled tasks at runtime easily.

Installation

pip install python-scheduler

Example

from pyscheduler import schedule

# crawl_task runs in every 2 minutes
@schedule('*/2 * * * *')
def crawl_task():
    print 'crawl task'

Important

It won't definitely create any cronjob on the os level. All tasks will be executed on runtime.

Every cron syntax can be used.

Concurrency are not considered during development. That's why, it is so lightweight library for single process applications for now.

About

Create scheduled tasks at runtime easily (Django, Flask, Bottle etc.)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages