Jobs
The identity service 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 |
|---|---|
identity.housekeeping | removes tokens and authorizations that can no longer be used and deletes self-registered accounts that never confirmed their address |
identity.sign-in-audit-retention | removes entries of the sign-in log after their retention period |
identity.admin-audit-retention | removes entries of the administrative log after their retention period |
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 (identity.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.