Merge pull request 'Update updateUsers cron job to trigger every 5 min' (#1) from fix_update_users into legacy_dev
All checks were successful
All checks were successful
Reviewed-on: #1
This commit is contained in:
commit
ff3ef6b3b7
@ -68,7 +68,7 @@ export default class CronService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
public async updateUsers() {
|
public async updateUsers() {
|
||||||
const cronJob = new CronJob("0 0 * * *", async () => {
|
const cronJob = new CronJob("*/5 * * * *", async () => {
|
||||||
// Once a day at midnight
|
// Once a day at midnight
|
||||||
try {
|
try {
|
||||||
await this.idNotService.updateOffices();
|
await this.idNotService.updateOffices();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user