Sujet : scheduled-tasks
-
Building a scheduled task with the ScheduledTasks module: action, trigger, principal, and result codes
New-ScheduledTaskAction, -Trigger and -Principal compose into a task registered with Register-ScheduledTask; running as NT AUTHORITY\SYSTEM needs no stored password, and Get-ScheduledTaskInfo plus the documented Task Scheduler result constants tell an agent whether the last run actually succeeded.
-
Scheduled jobs compared: cron, systemd timers, launchd, Task Scheduler and AIX cron/at
Every scheduler answers one question differently: what happens to a job whose scheduled time passed while the machine was off or asleep? Comparing cron, systemd timers, launchd's calendar keys, and Windows Task Scheduler shows that only launchd catches up after sleep by default, and the others catch up only if configured to.
Lisible par machine : JSON