disk usage update cron job is no more

This commit is contained in:
Johannes Zellner
2025-08-21 11:17:01 +02:00
parent eb2ebead28
commit fdc4ddf316

View File

@@ -62,7 +62,6 @@ const gJobs = {
dynamicDns: null,
schedulerSync: null,
appHealthMonitor: null,
diskUsage: null,
externalLdapSyncer: null,
checkDomainConfigs: null,
collectStats: null,
@@ -117,12 +116,6 @@ async function startJobs() {
start: true
});
gJobs.diskUsage = CronJob.from({
cronTime: `00 ${minute} 3 * * *`, // once a day
onTick: async () => await safe(system.startUpdateDiskUsage(), { debug }),
start: true
});
gJobs.diskSpaceChecker = CronJob.from({
cronTime: '00 30 * * * *', // every 30 minutes. if you change this interval, change the notification messages with correct duration
onTick: async () => await safe(system.checkDiskSpace(), { debug }),