Configuring UnpublishExpiredJob - dogtagpki/pki GitHub Wiki
$ pki-server ca-config-set jobsScheduler.impl.UnpublishExpiredJob.class com.netscape.cms.jobs.UnpublishExpiredJob
To configure unpublish expired certificates job:
$ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.enabled true $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.cron "0 0 * * 6" $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.pluginName UnpublishExpiredJob $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.summary.enabled true $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.summary.emailSubject "Expired Certs Unpublished Summary" $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.summary.emailTemplate /var/lib/pki/pki-tomcat/ca/emails/euJob1.html $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.summary.itemTemplate /var/lib/pki/pki-tomcat/ca/emails/euJob1Item.html $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.summary.recipientEmail [email protected] $ pki-server ca-config-set jobsScheduler.job.unpublishExpiredCerts.summary.senderEmail [email protected]