Trigger Cron every 2min
All checks were successful
All checks were successful
This commit is contained in:
parent
f01141896a
commit
e8fe107a3e
@ -68,7 +68,7 @@ export default class CronService {
|
||||
}
|
||||
}
|
||||
public async updateUsers() {
|
||||
const cronJob = new CronJob("0 0 * * *", async () => {
|
||||
const cronJob = new CronJob("*/2 * * * *", async () => {
|
||||
// Once a day at midnight
|
||||
try {
|
||||
await this.idNotService.updateOffices();
|
||||
|
Loading…
x
Reference in New Issue
Block a user