forked from platypush/platypush
Start the cron scheduler only if there are crons configured
This commit is contained in:
parent
a16d92ae8e
commit
d629fc897f
1 changed files with 2 additions and 1 deletions
|
@ -112,6 +112,7 @@ class Daemon(object):
|
|||
backend.start()
|
||||
|
||||
# Start the cron scheduler
|
||||
if Config.get_cronjobs():
|
||||
CronScheduler(jobs=Config.get_cronjobs()).start()
|
||||
|
||||
# Poll for messages on the bus
|
||||
|
|
Loading…
Reference in a new issue