Skip to content

Commit 84ec061

Browse files
committed
wip
1 parent 3cc106f commit 84ec061

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Console/Kernel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
use Illuminate\Console\Scheduling\Schedule;
66
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7+
use Spatie\ScheduleMonitor\Models\MonitoredScheduledTaskLogItem;
78

89
class Kernel extends ConsoleKernel
910
{
@@ -13,7 +14,7 @@ class Kernel extends ConsoleKernel
1314
protected function schedule(Schedule $schedule)
1415
{
1516
$schedule->command('schedule-monitor:sync')->dailyAt('04:56');
16-
$schedule->command('schedule-monitor:clean')->daily();
17+
$schedule->command('model:prune', ['--model' => MonitoredScheduledTaskLogItem::class])->daily();
1718
$schedule->command('horizon:snapshot')->everyFiveMinutes();
1819
$schedule->command('post-article-to-twitter')->twiceDaily(14, 18);
1920
$schedule->command('sitemap:generate')->daily()->graceTimeInMinutes(25);

0 commit comments

Comments
 (0)