don\'t enqueue scheduled tasks if in maintenance mode