Don't search on start, use cron scheduler
This commit is contained in:
1 parent
2791ca0230
commit
0c4ccf4bb2
1 file changed
-3
@@ -24,9 +24,6 @@ class Searcher(Plugin):
|
||||
# Schedule cronjob
|
||||
fireEvent('schedule.cron', 'searcher.all', self.all_movies, day = self.conf('cron_day'), hour = self.conf('cron_hour'), minute = self.conf('cron_minute'))
|
||||
|
||||
if not Env.setting('development'):
|
||||
addEvent('app.load', self.all_movies)
|
||||
|
||||
def all_movies(self):
|
||||
|
||||
db = get_session()
|
||||
|
||||
Reference in new issue
Block a user