Set updater crons on start.
This commit is contained in:
1 parent
e1bc223de0
commit
1c20cda389
1 file changed
+1
@@ -34,6 +34,7 @@ class Updater(Plugin):
|
|||||||
self.updater = SourceUpdater()
|
self.updater = SourceUpdater()
|
||||||
|
|
||||||
addEvent('app.load', self.autoUpdate)
|
addEvent('app.load', self.autoUpdate)
|
||||||
|
addEvent('app.load', self.setCrons)
|
||||||
addEvent('updater.info', self.info)
|
addEvent('updater.info', self.info)
|
||||||
|
|
||||||
addApiView('updater.info', self.getInfo, docs = {
|
addApiView('updater.info', self.getInfo, docs = {
|
||||||
|
|||||||
Reference in new issue
Block a user