Documentation ¶
Overview ¶
Package scheduler acts as "cron" for scheduled AMT tasks and continuous monitoring of clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJob ¶
func CreateJob(body io.ReadCloser) string
CreateJob accepts a web-GUI submitted job, scheduled or interactive
func GetLaststatesJSON ¶
func GetLaststatesJSON() string
GetLaststatesJSON is consumed by webserver to report current client state.
func MonitoringRunloop ¶
func MonitoringRunloop(verbose bool)
MonitoringRunloop periodically scans clients' powerstate via AMT.
func ScheduledJobsRunloop ¶
func ScheduledJobsRunloop(verbose bool)
ScheduledJobsRunloop periodically checks DB for scheduled tasks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.