Jobs
The PKI does some work on its own, on a schedule: it removes what has outlived its period and checks what can change while nobody is looking. Each such task is a job. The Jobs page shows all of them — whether they are enabled, when they last ran and with what outcome, and when they are next due. It looks the same in every service: in the Service Center, the Application Center, the PKI and the identity service.
| Job | What it does |
|---|---|
pki.connector-credential-retention | empties the trash of connector material and shortens its audit trail after the period |
pki.issuance-denial-retention | removes refused issuances after their retention period |
pki.subordinate-authority-check | asks the authority above whether the certificate of this authority is still good |
pki.trust-anchor-import | imports the trust anchors the deployment names as files (also once at start) |
pki.expired-certificate-retention | destroys the private key of an expired certificate and deletes the record of its issuance after the retention period (three full calendar years after the year of expiry unless configured); authorities and trust anchors stay |
jobs.log-retention | removes finished runs from the log once they are older than the retention period (30 days unless configured) |
A job that has not succeeded for longer than intended makes the status page report the service as
degraded (pki.job-overdue). A job that is switched off is never overdue.
Schedule
The page of a job shows its schedule as a cron expression in the six-field notation: second, minute,
hour, day, month, weekday. 0 15 2 * * * means daily at 02:15:00, 0 */5 * * * * every five minutes.
Beside it are a description, the number of retries after a failure and whether the job is enabled. Once
saved, the new schedule applies to every replica at once; a restart does not overwrite it.
Run now starts a run on top of the schedule; a run already in progress is not aborted. Only administrators see and change the jobs.
Off by configuration. The deployment can switch one job off (Jobs:Disabled) or all of them
(Jobs:Enabled=false). The job then reads Off by configuration, Run now is refused with that reason,
and due runs are logged as skipped. The schedule here does not change that — it is switched on again in
the configuration.
Log
The Log tab lists every run, newest first, page by page: scheduled or started by hand, when it was due and when it ended, how long it took, which replica ran it and — for a failure — the message, for a skipped run the reason. The search finds replicas and error texts. Missed occurrences (the service was not running) are skipped; the next run works from the current state.