From 2d87f80878a2aa3a0aa973ff91e17351fb49109c Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 18 Jun 2024 11:31:52 +0200 Subject: [PATCH] aa --- app/Console/Kernel.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 82a31914..1bde17c0 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -30,7 +30,16 @@ class Kernel extends ConsoleKernel // $schedule->command('inspire')->hourly(); // Pianifica l'esecuzione del comando ogni giorno a mezzanotte - $schedule->command('fix:storage-permissions')->daily(); + $schedule->command('fix:storage-permissions')->daily()->at('00:30')->before(function () { + Log::info('Running fix:storage-permissions'); + }); + + $schedule->command('fix:storage-permissions')->daily()->at('11:35')->before(function () { + Log::info('Running fix:storage-permissions'); + }); + $schedule->command('fix:storage-permissions')->daily()->at('09:35')->before(function () { + Log::info('Running fix:storage-permissions'); + }); $schedule->command('backup:clean')->daily()->at('02:00')->before(function () { Log::info('Running backup:clean command');