@@ -6,6 +6,7 @@ import updateDomainesMetiers from "@/jobs/domainesMetiers/updateDomainesMetiers"
66import  {  create  as  createMigration ,  status  as  statusMigration ,  up  as  upMigration  }  from  "@/jobs/migrations/migrations" 
77import  {  sendMiseEnRelation  }  from  "@/jobs/miseEnRelation/sendMiseEnRelation" 
88import  {  importers  }  from  "@/jobs/offrePartenaire/jobsPartners.importer" 
9+ import  {  exportFileForAlgo  }  from  "@/jobs/partenaireExport/exportBlacklistAlgo" 
910import  {  exportJobsToS3V2  }  from  "@/jobs/partenaireExport/exportJobsToS3V2" 
1011import  {  updateReferentielCommune  }  from  "@/services/referentiel/commune/commune.referentiel.service" 
1112import  {  generateSitemap  }  from  "@/services/sitemap.service" 
@@ -183,6 +184,10 @@ export async function setupJobProcessor() {
183184            handler : syncEtablissementsAndFormations , 
184185            tag : "main" , 
185186          } , 
187+           "Export des offres sur S3 v2" : { 
188+             cron_string : "0 3 * * *" , 
189+             handler : ( )  =>  exportJobsToS3V2 ( ) , 
190+           } , 
186191          "Supprime les etablissements dupliqués à cause du parallélisme du job de synchronisation RDVA" : { 
187192            cron_string : "30 3 * * *" , 
188193            handler : removeDuplicateEtablissements , 
@@ -273,19 +278,18 @@ export async function setupJobProcessor() {
273278            handler : resetInvitationDates , 
274279            tag : "main" , 
275280          } , 
281+           "Export des données pour l'algorithme" : { 
282+             cron_string : "0 10 * * FRI" , 
283+             handler : exportFileForAlgo , 
284+           } , 
276285          "Traitement des recruteur LBA par la pipeline jobs partners" : { 
277286            cron_string : "0 10 * * SUN" , 
278287            handler : ( )  =>  processRecruteursLba ( ) , 
279288            tag : "main" , 
280289          } , 
281-           "Export des offres sur S3 v2" : { 
282-             cron_string : "0 3 * * *" , 
283-             handler : ( )  =>  exportJobsToS3V2 ( ) , 
284-           } , 
285290          "Suppression des contacts Brevo de plus de deux ans" : { 
286291            cron_string : "0 8 * * SUN" , 
287292            handler : removeBrevoContacts , 
288-             tag : "main" , 
289293          } , 
290294        } , 
291295    jobs : { 
0 commit comments