Skip to main content

Module maintenance

Module maintenance 

Source
Expand description

maintenance.* method types — scheduled-job preview + reboot defer.

Per SPEC §2.1: the Client App shows the user “what’s about to happen on my PC” (next N days of scheduled jobs targeting this PC, derived from BUCKET_SCHEDULES ∩ this agent’s groups + pc_id) and lets them push back on imminent restarts via maintenance.defer (15m / 30m / 1h, per SPEC §2.1).

Structs§

MaintenanceDeferParams
maintenance.defer params — push back a scheduled reboot. The agent records the deferral and skips the next fire of the named schedule for the chosen window (SPEC §2.1: 15m / 30m / 1h).
MaintenanceDeferResult
MaintenanceItem
One upcoming scheduled job that will fire against this PC.
MaintenanceListParams
maintenance.list params — preview window in days.
MaintenanceListResult

Enums§

DeferDuration
Allowed defer windows per SPEC §2.1 (15分 / 30分 / 1時間). The fixed set avoids operators having to think about long-tail “user deferred 3 days” scenarios — anything bigger goes through the helpdesk.