diff --git a/src/cron.js b/src/cron.js index 13d4f47ac..67bd9760c 100644 --- a/src/cron.js +++ b/src/cron.js @@ -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 }),