Se agregan correos scheduler

parent 300f8b9d
...@@ -2,6 +2,7 @@ package amx.ccie.etl.scheduler; ...@@ -2,6 +2,7 @@ package amx.ccie.etl.scheduler;
import amx.ccie.etl.dao.BitacoraDAO; import amx.ccie.etl.dao.BitacoraDAO;
import amx.ccie.etl.dao.CatalogosDAO; import amx.ccie.etl.dao.CatalogosDAO;
import amx.ccie.etl.dao.CorreosDAO;
import amx.ccie.etl.httpClient.TestApisEmpleado; import amx.ccie.etl.httpClient.TestApisEmpleado;
import amx.ccie.etl.httpClient.TestApisReporte; import amx.ccie.etl.httpClient.TestApisReporte;
import amx.ccie.etl.util.BitacoraDTO; import amx.ccie.etl.util.BitacoraDTO;
...@@ -39,6 +40,7 @@ public class CatalogoScheduler { ...@@ -39,6 +40,7 @@ public class CatalogoScheduler {
log.info("Se ejecuta servicio de reporte."); log.info("Se ejecuta servicio de reporte.");
new TestApisReporte().getReporte(); new TestApisReporte().getReporte();
log.info("Servicios ejecutados correctamente."); log.info("Servicios ejecutados correctamente.");
new CorreosDAO().enviaCorreoReporteActivaciones("Prueba de correo");
} catch (MalformedURLException ex) { } catch (MalformedURLException ex) {
log.error("Exception: {}", ex.getMessage()); log.error("Exception: {}", ex.getMessage());
} catch (KeyManagementException | NoSuchAlgorithmException ex) { } catch (KeyManagementException | NoSuchAlgorithmException ex) {
......
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