This commit is contained in:
paoloar77
2024-05-17 13:29:49 +02:00
parent a68547ec00
commit 37cc797f2f

View File

@@ -25,6 +25,8 @@ class Kernel extends ConsoleKernel
*/ */
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
Log::info('Controllo schedule...');
// $schedule->command('inspire')->hourly(); // $schedule->command('inspire')->hourly();
$schedule->command('backup:clean')->daily()->at('02:00')->before(function () { $schedule->command('backup:clean')->daily()->at('02:00')->before(function () {
Log::info('Running backup:clean command'); Log::info('Running backup:clean command');