first commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Windows agent (planned, not yet implemented)
|
||||
|
||||
v1 of Schedule Task Manager only supports Linux servers (cron + systemd timers). A
|
||||
Windows agent is a natural v2 addition and would follow the same contract as the
|
||||
Linux agent in [`../linux/report-tasks.sh`](../linux/report-tasks.sh):
|
||||
|
||||
- Collect tasks with `Get-ScheduledTask | Get-ScheduledTaskInfo` (name, action/command,
|
||||
trigger description, next run time, enabled state).
|
||||
- POST the same JSON shape to `POST /api/agent/report` with `schedule_type: "windows_task"`
|
||||
(the server and UI already treat `schedule_type` as an open string in storage; only the
|
||||
`tasks` API and UI schedule-type filter would need the new value added).
|
||||
- Ship as a scheduled task (naturally) or a small Windows service that runs on a timer,
|
||||
configured via the same `API_URL` / `API_TOKEN` environment variables as the Linux agent.
|
||||
Reference in New Issue
Block a user