Beispiel #1
0
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $this->info('Generar Turnos');
     $this->info('Iniciado: ' . date('Y-m-d H:i:s'));
     $c = new \CentroOdontologoEspecialidadController();
     $resultado = $c->generarTurnos(NULL, $this->argument('fecha'));
     $this->info($resultado);
     $this->info('Terminado: ' . date('Y-m-d H:i:s'));
 }
Beispiel #2
0
 /**
  * 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'));
 }