This commit is contained in:
paoloar77
2024-06-19 10:06:01 +02:00
parent 73bf0d22f3
commit e8410b0cf8
2 changed files with 2 additions and 4 deletions

View File

@@ -54,8 +54,6 @@ class StartDay extends Command
try { try {
$log = "*** STARTDAY: "; $log = "*** STARTDAY: ";
$log .= "************** FINE *********** ";
// Select all the fields of the Stock table // Select all the fields of the Stock table
} catch (\Exception $e) { } catch (\Exception $e) {

View File

@@ -14,7 +14,7 @@ class Kernel extends ConsoleKernel
* @var array * @var array
*/ */
protected $commands = [ protected $commands = [
//
]; ];
/** /**
@@ -26,7 +26,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
// Log::info('Controllo 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 () {