/** * Execute the console command. * * @return void */ public function fire() { $this->info('Generar Agendas'); $this->info('Iniciado: ' . date('Y-m-d H:i:s')); $c = new \CentroOdontologoEspecialidadController(); $resultado = $c->generarAgendas(); $this->info($resultado); $this->info('Terminado: ' . date('Y-m-d H:i:s')); }