Changed expiring document cron timer

This commit is contained in:
Vins 2023-10-03 09:50:02 +02:00
parent 9418c314bb
commit 55797019ec

View File

@ -80,7 +80,7 @@ export default class CronService {
}
public async checkDocumentsExpiration() {
const cronJob = new CronJob("*/10 * * * * *", async () => {
const cronJob = new CronJob("0 20 * * *", async () => {
// Once a day at midnight
try {
const prisma = new PrismaClient();