pass auditSource for certificate renewal

This commit is contained in:
Girish Ramakrishnan
2016-06-02 18:54:45 -07:00
parent 6be0d0814d
commit a4e73be834
2 changed files with 14 additions and 12 deletions

View File

@@ -123,7 +123,7 @@ function recreateJobs(unusedTimeZone, callback) {
if (gCertificateRenewJob) gCertificateRenewJob.stop();
gCertificateRenewJob = new CronJob({
cronTime: '00 00 */12 * * *', // every 12 hours
onTick: certificates.autoRenew,
onTick: certificates.renewAll.bind(null, AUDIT_SOURCE, NOOP_CALLBACK),
start: true,
timeZone: allSettings[settings.TIME_ZONE_KEY]
});