This commit is contained in:
deathbybandaid 2022-02-10 11:15:58 -05:00
parent 51b2b11d62
commit 5b3f2cc94b

View File

@ -6,17 +6,19 @@ class Scheduler():
def __init__(self):
self.scheduler = jobs.Scheduler(self)
self.scheduler.start()
job = jobs.Job(
intervals=[5],
[5],
plugin='coretasks',
label='throttle_join',
handler=self.fart,
threaded=False,
threaded=True,
doc=None,
)
self.scheduler.register(job)
self.scheduler.start()
def fart(self):
print("toots mcgoots")