Logica envio de urls a clientes

parent f37f687a
......@@ -43,8 +43,10 @@ class EnviarWapushUsuariosCommand extends Command {
$ejecutar = 0;
if ($ultimaFechaEjecucion == null) {
$log->debug("No existia ultima fecha...");
$ejecutar = 1;
} else if ($ultimaFechaEjecucion->getEwfFecha()->format('Y-m-d') != $fechaActual->format('Y-m-d')) {
$log->debug("Fechas distintas...");
$ejecutar = 1;
} else {
$log->debug("El proceso ya se ejecuto.");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment