disk usage update cron job is no more
This commit is contained in:
@@ -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 }),
|
||||
|
||||
Reference in New Issue
Block a user