/** * Define the application's command schedule. * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void */ protected function schedule(Schedule $schedule) { $schedule->call(function () { Auction::end(); })->everyMinute(); $schedule->call(function () { Auction::setPopular(); })->daily(); }