Skip to content

Commit

Permalink
prune telscope entries daily
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed May 4, 2024
1 parent 0237c1e commit fd2d9e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes/console.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
use App\Console\Commands;
use Illuminate\Console\Scheduling\Schedule as RealSchedule;
use Illuminate\Support\Facades\Schedule;
use Laravel\Telescope\Console\PruneCommand as PruneTelescopeEntries;

Schedule::command(Commands\RefreshArtistsCache::class)
->days([RealSchedule::TUESDAY, RealSchedule::FRIDAY])
->at('03:00')
->graceTimeInMinutes(30);

Schedule::command(PruneTelescopeEntries::class)->dailyAt('01:30');
Schedule::command(Commands\MakeBackup::class)->dailyAt('02:00');

0 comments on commit fd2d9e3

Please sign in to comment.