Skip to content

Commit d88d7de

Browse files
authored
Fix order of cron job scheduler starts
1 parent d25395c commit d88d7de

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

server/cron/jobsContainer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ export const startCronJobs = () => {
88
deletePasswordResetTokensScheduler.start();
99

1010
if (process.env.TRANSCRIPTION_ENABLED === true) {
11-
markAnalysisEntriesAsCancelledScheduler.start();
11+
getCompletedTranscriptionJobsScheduler.start();
1212
}
1313

14-
getCompletedTranscriptionJobsScheduler.start();
14+
markAnalysisEntriesAsCancelledScheduler.start();
15+
1516

1617
console.log('Cron jobs started');
1718
} catch (error) {

0 commit comments

Comments
 (0)