From 08dafaed3016b587ab9645b1e93d6839d7ad8995 Mon Sep 17 00:00:00 2001 From: Hamid Semitala Date: Thu, 30 Nov 2023 11:55:02 +0300 Subject: [PATCH] Quick fix :bug: --- src/Yuga/Scheduler/SchedulerServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Yuga/Scheduler/SchedulerServiceProvider.php b/src/Yuga/Scheduler/SchedulerServiceProvider.php index 46f7e62..825dd95 100644 --- a/src/Yuga/Scheduler/SchedulerServiceProvider.php +++ b/src/Yuga/Scheduler/SchedulerServiceProvider.php @@ -14,12 +14,12 @@ class SchedulerServiceProvider extends ServiceProvider public function load(Application $app) { - // if ($app->runningInConsole()) { + if ($app->runningInConsole()) { $app->singleton('scheduler', function () use($app) { return new Scheduler($app); }); $this->scheduler = $app->resolve('scheduler'); - // } + } } public function boot()