Add backup cleanup eventlog

This commit is contained in:
Girish Ramakrishnan
2017-10-01 09:29:42 -07:00
parent e089851ae9
commit f9973e765c
6 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ function recreateJobs(tz) {
if (gCleanupBackupsJob) gCleanupBackupsJob.stop();
gCleanupBackupsJob = new CronJob({
cronTime: '00 45 */6 * * *', // every 6 hours. try not to overlap with ensureBackup job
onTick: backups.cleanup,
onTick: backups.cleanup.bind(null, AUDIT_SOURCE, NOOP_CALLBACK),
start: true,
timeZone: tz
});