9 lines
162 B
Python
9 lines
162 B
Python
from fastscheduler import FastScheduler
|
|
|
|
|
|
scheduler = FastScheduler(quiet=True)
|
|
|
|
|
|
@scheduler.every(10).seconds
|
|
def background_task():
|
|
print("Background work") |