This commit is contained in:
邓皓元 2019-01-24 16:39:27 +08:00
parent c39abfd16c
commit 019de62255

View File

@ -26,7 +26,7 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule) protected function schedule(Schedule $schedule)
{ {
$logPath = storage_path('logs/artisan.log'); $logPath = storage_path('logs/artisan.log');
// $schedule->command('real:sync-mongo')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath); $schedule->command('real:sync-mongo')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath);
$schedule->command('virtual:sync-card')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath); $schedule->command('virtual:sync-card')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath);
// $schedule->command('virtual:sync-log')->cron('* * 1 * *')->withoutOverlapping()->appendOutputTo($logPath); // $schedule->command('virtual:sync-log')->cron('* * 1 * *')->withoutOverlapping()->appendOutputTo($logPath);
} }