Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
Install configures Windows Task Scheduler for periodic scanning. If already installed, upgrades by removing and re-creating the task.
func IsTaskRegistered ¶ added in v1.11.4
func IsTaskRegistered() bool
IsTaskRegistered reports whether the Windows scheduled task created by `dev-machine-guard install` is currently registered. Used by the telemetry package's invocation detector to distinguish a manual CLI run from a scheduler-triggered one. Any error or non-zero schtasks exit is treated as "not registered" so a transient Schedule-service hiccup degrades to "one_time" rather than erroring the run.
Types ¶
This section is empty.