sincronizar cambios
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Failing after 27s
build-and-deploy / deploy (push) Has been skipped

This commit is contained in:
2025-05-30 02:13:01 -06:00
parent 98f6105373
commit b6d7759b30
2 changed files with 8 additions and 17 deletions

View File

@@ -14,10 +14,6 @@ jobs:
- name: Clonar el repo
uses: actions/checkout@v3
- name: Agregar remoto de GitHub
run: |
git remote add github https://josedario87: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@github.com/josedario87/planilla.git
- name: Forzar limpieza y retry
run: |
git remote remove github
@@ -25,8 +21,3 @@ jobs:
git fetch github
git push github +HEAD:main --force
- name: Forzar subida a GitHub (sobrescribe lo que haya)
run: |
git fetch github
git push github +main

View File

@@ -12,11 +12,11 @@ cron.schedule('*/5 * * * * *', () => {
}
});
// Schedules the daily employee data synchronization to run at midnight.
cron.schedule('0 0 * * *', () => {
console.log('[CronWorker] Running daily employee synchronization task...');
syncEmpleadosToExternalDB().catch(err => {
console.error('[CronWorker] Error during scheduled employee synchronization:', err);
});
});
console.log('[CronWorker] Daily employee synchronization task scheduled for 00:00.');
// // Schedules the daily employee data synchronization to run at midnight.
// cron.schedule('0 0 * * *', () => {
// console.log('[CronWorker] Running daily employee synchronization task...');
// syncEmpleadosToExternalDB().catch(err => {
// console.error('[CronWorker] Error during scheduled employee synchronization:', err);
// });
// });
// console.log('[CronWorker] Daily employee synchronization task scheduled for 00:00.');