MDL-24723 prevent cron execution in CLI maintenance mode