Update updateUsers cron job to trigger every 5 min #1
@ -68,7 +68,7 @@ export default class CronService {
|
||||
}
|
||||
}
|
||||
public async updateUsers() {
|
||||
const cronJob = new CronJob("0 0 * * *", async () => {
|
||||
const cronJob = new CronJob("*/5 * * * *", async () => {
|
||||
// Once a day at midnight
|
||||
try {
|
||||
await this.idNotService.updateOffices();
|
||||
|
Loading…
x
Reference in New Issue
Block a user