uptime-kuma/server/jobs/certificate-notification.js

14 lines
306 B
JavaScript
Raw Normal View History

2021-10-23 21:44:21 +08:00
const { log, exit, connectDb } = require("./util-worker");
const { R } = require("redbean-node");
const { setSetting, setting } = require("../util-server");
(async () => {
await connectDb();
console.log("Checking Certificate Expiry Date");
// TODO: Query monitor_tls_info
exit();
})();