PEM includes a set of built-in scheduled system jobs that run automatically on the PEM server. These jobs maintain the PEM database, purge stale data from the log and history tables, and perform routine monitoring. Unlike agent-scheduled jobs, system jobs are managed by PEM and can't be modified or deleted by users.
To view system jobs, in the PEM web interface, select Management > Scheduled Tasks in the menu. Then enable the Show system tasks? toggle to display system jobs alongside any custom agent jobs.
To configure the time zone PEM uses when scheduling system job run times, set the timezone_for_system_jobs parameter in Management > Server Configuration.
System jobs reference
| Job name | Description |
|---|---|
| Alert history table cleanup | Runs periodically to purge old data from the alert history table. |
| Audit log table cleanup | Runs periodically to purge old data from the audit log table. |
| Blackout unreachable servers/agents | Marks servers and agents that are no longer reachable as blacked out. |
| Check CA certificate expiry | Checks the expiration of the CA certificate. |
| Database cleanup | Runs periodically to purge old probe history data and obsolete objects from the database. |
| Event history table cleanup | Runs periodically to purge old data from the event history table. |
| Job log table cleanup | Runs periodically to purge old data from the job log table. |
| Job purge the deleted charts | Runs periodically to purge deleted custom charts. |
| Process alert blackouts | Syncs alert_blackout flags based on pem.blackout records. |
| Probe log table cleanup | Runs periodically to purge old data from the probe log table. |
| Purge deleted custom probes | Runs periodically to purge deleted custom probes. |
| Refresh stale materialized views | Checks a flag table every minute and refreshes the pem.probe_target_view materialized view if it's stale or hasn't been refreshed in the last hour. |
| Server log table cleanup | Runs periodically to purge old data from the server log table. |
| SMTP spool table cleanup | Runs periodically to purge old data from the SMTP spool table. |
| SNMP spool table cleanup | Runs periodically to purge old data from the SNMP spool table. |
| Update next run of Check CA certificate expiry Job | Updates the scheduled next-run time for the Check CA certificate expiration job. |
| Update the probe-objects combination | Inserts or updates the probe and parameter_value_list records in the pem.probe_objects_combo table. |
| Webhook spool history table cleanup | Runs periodically to purge old data from the webhook spool history table. |
| Webhook spool table cleanup | Runs periodically to purge old data from the webhook spool table. |