overleaf/services/web/scripts/process_lapsed_reconfirmations.js

11 lines
281 B
JavaScript
Raw Normal View History

const InstitutionsReconfirmationHandler = require('../modules/institutions/app/src/InstitutionsReconfirmationHandler')
InstitutionsReconfirmationHandler.processLapsed()
.then(() => {
process.exit(0)
})
.catch(error => {
console.error(error)
process.exit(1)
})