command('real:sync-mongo')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath); $schedule->command('virtual:sync-card')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath); // $schedule->command('virtual:sync-log')->cron('* * 1 * *')->withoutOverlapping()->appendOutputTo($logPath); } /** * Queue the given console command. * * @param string $command * @param array $parameters * @return void */ public function queue($command, array $parameters = []) { dispatch(new QueuedCommand(func_get_args())); } }