mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
Merge pull request #33852 from overleaf/kc-schedule-domain-verification
[web] schedule domain reverification GitOrigin-RevId: 08217692960379d0a6f7ce457032b1182fb2bf4e
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { scriptRunner } from './lib/ScriptRunner.mjs'
|
||||
import DomainVerificationCron from '../modules/group-settings/app/src/DomainVerificationCron.mjs'
|
||||
|
||||
async function main() {
|
||||
await DomainVerificationCron.promises.verifyAll()
|
||||
}
|
||||
|
||||
try {
|
||||
await scriptRunner(main)
|
||||
process.exit(0)
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
process.exit(1)
|
||||
}
|
||||
Reference in New Issue
Block a user