Compare commits
2 Commits
e5c7d9a972
...
ff3ef6b3b7
Author | SHA1 | Date | |
---|---|---|---|
ff3ef6b3b7 | |||
![]() |
5934213e95 |
@ -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