command('command:curlVTCommand') ->dailyAt('11:00') ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/curlvt.log'); $schedule->command('command:curlYdOrderListCommand') ->dailyAt('11:00') ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/curlyd.log'); $schedule->command('command:curlVTCommand') ->dailyAt('14:00') ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/curlvt.log'); $schedule->command('command:curlYdOrderListCommand') ->dailyAt('14:00') ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/curlyd.log'); $schedule->command('command:curlVTCommand') ->dailyAt('17:00') ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/curlvt.log'); $schedule->command('command:curlYdOrderListCommand') ->dailyAt('17:00') ->withoutOverlapping() ->appendOutputTo (storage_path().'/logs/curlyd.log'); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }