Files
DatBrowser/routes/console.php
Matthias Guillitte 9ca6ba3018
All checks were successful
Push image to registry / build-image (push) Successful in 3m46s
Telescope Prune
2025-02-19 17:40:57 +01:00

19 lines
643 B
PHP

<?php
use App\Browser\Jobs\Hellcase\HellcaseJob;
use App\Models\Job;
use App\Services\BrowserJobsInstances;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
// Telescope
Schedule::command('telescope:prune')->monthly();
// Jobs
Schedule::job(new HellcaseJob)->daily()->onOneServer()->withoutOverlapping()->name('hellcase')->description('Hellcase job');
// Schedule::job(new HellcaseJob)->everyMinute()->onOneServer()->withoutOverlapping()->name('hellcase')->description('Hellcase job');