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

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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