Searcher on start when debugging
This commit is contained in:
1 parent
4e5a7c22a4
commit
623f8c9d95
1 file changed
+3
@@ -21,6 +21,9 @@ class Searcher(Plugin):
|
||||
# Schedule cronjob
|
||||
fireEvent('schedule.cron', 'searcher.all', self.all, day = self.conf('cron_day'), hour = self.conf('cron_hour'), minute = self.conf('cron_minute'))
|
||||
|
||||
if Env.doDebug():
|
||||
addEvent('app.load', self.all)
|
||||
|
||||
def all(self):
|
||||
|
||||
db = get_session()
|
||||
|
||||
Reference in new issue
Block a user