overleaf/services/web/scripts/process_lapsed_reconfirmations.mjs

10 lines
262 B
JavaScript
Raw Normal View History

import InstitutionsReconfirmationHandler from '../modules/institutions/app/src/InstitutionsReconfirmationHandler.mjs'
try {
await InstitutionsReconfirmationHandler.processLapsed()
process.exit(0)
} catch (error) {
console.error(error)
process.exit(1)
}