diff --git a/platypush/__init__.py b/platypush/__init__.py index ee7bfc12..08f4a6ba 100644 --- a/platypush/__init__.py +++ b/platypush/__init__.py @@ -112,7 +112,8 @@ class Daemon(object): backend.start() # Start the cron scheduler - CronScheduler(jobs=Config.get_cronjobs()).start() + if Config.get_cronjobs(): + CronScheduler(jobs=Config.get_cronjobs()).start() # Poll for messages on the bus try: