Skip to content

Commit e47a344

Browse files
authored
feat: update jobs exec time (#2351)
1 parent c8334e9 commit e47a344

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

server/src/jobs/jobs.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,6 @@ export async function setupJobProcessor() {
178178
handler: updateParcoursupAndAffelnetInfoOnFormationCatalogue,
179179
tag: "main",
180180
},
181-
"Historisation des formations éligibles à la prise de rendez-vous": {
182-
cron_string: "55 2 * * *",
183-
handler: eligibleTrainingsForAppointmentsHistoryWithCatalogue,
184-
tag: "main",
185-
},
186181
"Synchronise les formations eligibles à la prise de rendez-vous": {
187182
cron_string: "45 2 * * *",
188183
handler: syncEtablissementsAndFormations,
@@ -193,6 +188,11 @@ export async function setupJobProcessor() {
193188
handler: removeDuplicateEtablissements,
194189
tag: "main",
195190
},
191+
"Historisation des formations éligibles à la prise de rendez-vous": {
192+
cron_string: "00 4 * * *",
193+
handler: eligibleTrainingsForAppointmentsHistoryWithCatalogue,
194+
tag: "main",
195+
},
196196
"Synchronise les dates des etablissements eligible à la prise de rendez-vous": {
197197
cron_string: "0 5 * * *",
198198
handler: syncEtablissementDates,

0 commit comments

Comments
 (0)