components->error('Schedule pausing is currently disabled.'); return 1; } $cache->forever('illuminate:schedule:paused', true); $dispatcher->dispatch(new SchedulePaused); $this->components->info('Scheduled task processing has been paused.'); return 0; } }