diff --git a/bijoe/uwsgi.py b/bijoe/uwsgi.py index 1632c47..912074f 100644 --- a/bijoe/uwsgi.py +++ b/bijoe/uwsgi.py @@ -46,6 +46,8 @@ def wcs_olap(wcs_olap_ini_path): @cron(0, 3, -1, -1, -1, target='spooler') @log_exception('enqueuing of wcs-olap jobs') def cron_enqueue_wcs_olap(num): + if getattr(settings, 'DISABLE_CRON_JOBS'): + return enqueue_wcs_olap()