send certificate notifications in 21, 14, 7 days

This commit is contained in:
Louis Lam
2021-10-27 15:33:15 +08:00
parent 110ec491ee
commit 44c1b336dc
5 changed files with 92 additions and 21 deletions

View File

@@ -7,10 +7,6 @@ const jobs = [
name: "clear-old-data",
interval: "at 03:14",
},
{
name: "certificate-notification",
interval: "60 seconds", // TODO: Production should be larger
},
];
const initBackgroundJobs = function (args) {