mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
properly setup crons
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ class CronJob(ABC):
|
||||
self.name = name
|
||||
self.hours = hours
|
||||
|
||||
schedule.every(self.hours).seconds.do(self.run)
|
||||
schedule.every(self.hours).hours.do(self.run)
|
||||
|
||||
@abstractmethod
|
||||
def run(self):
|
||||
|
||||
Reference in New Issue
Block a user