This commit is contained in:
2022-03-08 17:17:42 +00:00
parent 5e38d5bd0f
commit c95540920c
8 changed files with 65 additions and 24 deletions

View File

@@ -45,6 +45,10 @@ namespace AyaNova.Biz
//Note: also has bearing on CoreJobPMInventoryCheck which uses notifydeliverylog to check if pm inventory notify has been done it's one time already
await ct.Database.ExecuteSqlInterpolatedAsync($"delete from anotifydeliverylog where processed < {dtDeleteCutoff}");
//CustomerNotifyDeliveryLog - deletes all log items older than 90 days
await ct.Database.ExecuteSqlInterpolatedAsync($"delete from acustomernotifydeliverylog where processed < {dtDeleteCutoff}");
}
lastSweep = DateTime.UtcNow;
}