diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 148d8d871..4c5e8a0b8 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -37,7 +37,6 @@ class Kernel extends ConsoleKernel $this->execute($schedule, 'fetching'); $this->execute($schedule, 'notification'); $this->execute($schedule, 'work'); - $schedule->command('sla-escalate')->everyThirtyMinutes(); if ($this->getCurrentQueue() != 'sync') { $schedule->command('queue:listen '.$this->getCurrentQueue().' --sleep 60')->everyMinute(); } diff --git a/routes/console.php b/routes/console.php index 21b8dfae0..66c053f80 100644 --- a/routes/console.php +++ b/routes/console.php @@ -21,10 +21,6 @@ Artisan::command('mac-update', function () { $emails = new App\Model\helpdesk\Email\Emails(); $emails->update(['password'=>encrypt('')]); })->describe('Updating encrypted value to null'); -Artisan::command('sla-escalate', function () { - $noti = new \App\Http\Controllers\Agent\helpdesk\Notifications\NotificationController(); - $noti->notificationSla(); -})->describe('to send notification for sla due'); /* * Command for pre install check