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 3, 2024
1 parent 28c3bf8 commit 1127e11
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 @@ -2,7 +2,9 @@

use App\Console\Commands;
use Illuminate\Support\Facades\Schedule;
use Laravel\Telescope\Console\PruneCommand as PruneTelescopeEntries;

Schedule::command(Commands\GenerateSitemap::class)->weekly();

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

0 comments on commit 1127e11

Please sign in to comment.