pass auditSource from cron.js

This commit is contained in:
Girish Ramakrishnan
2016-06-02 18:51:50 -07:00
parent e30d71921e
commit 6be0d0814d
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ function recreateJobs(unusedTimeZone, callback) {
if (gBackupJob) gBackupJob.stop();
gBackupJob = new CronJob({
cronTime: '00 00 */4 * * *', // every 4 hours
onTick: backups.ensureBackup,
onTick: backups.ensureBackup.bind(null, AUDIT_SOURCE, NOOP_CALLBACK),
start: true,
timeZone: allSettings[settings.TIME_ZONE_KEY]
});