Skip to content

Simple Python package that provides a decorator to mark functions as reoccurring on a regular schedule

License

Notifications You must be signed in to change notification settings

JonnyFunFun/routines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Routines!

Routines is a simple package that provides a single decorator for you to mark functions as tasks (routines) that should be executed on a regular schedule.

To use, simply do the following:

from routines import Routine

@Routine(60)
def my_routine_task(b):
        print b

my_routine_task('Hello!')
my_routine_task('Yay!')

As a result of the above, "Hello!" and "Yay!" will print every 60 seconds.

About

Simple Python package that provides a decorator to mark functions as reoccurring on a regular schedule

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages