Scheduled jobs: Windows #8

Closed
opened 2026-11-02 23:39:22 +00:00 by christianmanivong · 2 comments
Owner

Part of NetOrk/netork#1933; builds on NAPALM/napalm-device-types#86. Priority: P3 — important, not urgent (the NAPALM org has no labels, so it is stated here).

  • Get-ScheduledTask + Get-ScheduledTaskInfo in one script: path and name, State, principal, actions (Execute + Arguments), triggers, LastRunTime, LastTaskResult, NextRunTime. key = task:<path><name>.
  • \Microsoft\* is platform (hidden by default in netOrk).
  • Enable-/Disable-ScheduledTask, Start-ScheduledTask; netOrk's own tasks under \netOrk\ via Register-/Set-/Unregister-ScheduledTask.

Done when the driver reports every job of the host with managed_by, and offers or explicitly refuses each verb of the contract.

Part of NetOrk/netork#1933; builds on NAPALM/napalm-device-types#86. **Priority:** P3 — important, not urgent (the NAPALM org has no labels, so it is stated here). - `Get-ScheduledTask` + `Get-ScheduledTaskInfo` in one script: path and name, `State`, principal, actions (`Execute` + `Arguments`), triggers, `LastRunTime`, `LastTaskResult`, `NextRunTime`. `key = task:<path><name>`. - `\Microsoft\*` is `platform` (hidden by default in netOrk). - `Enable-/Disable-ScheduledTask`, `Start-ScheduledTask`; netOrk's own tasks under `\netOrk\` via `Register-/Set-/Unregister-ScheduledTask`. Done when the driver reports every job of the host with `managed_by`, and offers or explicitly refuses each verb of the contract.
Author
Owner

Changed while building it (PR #9): an application's tasks go into the root folder \ under the name the application gives (netork-<slug>), not into a \netOrk\ folder. napalm-device-types' docs/STRUCTURE.md: nothing a driver leaves on a device names the application. They are recognised by the description marker napalm-scheduled-job: <name>.

Changed while building it (PR #9): an application's tasks go into the root folder `\` under the name the application gives (`netork-<slug>`), not into a `\netOrk\` folder. napalm-device-types' docs/STRUCTURE.md: nothing a driver leaves on a device names the application. They are recognised by the description marker `napalm-scheduled-job: <name>`.
Author
Owner

Merged with #9.

Merged with #9.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Depends on
Reference: NAPALM/napalm-windows#8