sched
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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 () {
|
||||||
|
|||||||
Reference in New Issue
Block a user