Тема: scheduled-tasks
-
Создание задачи модулем ScheduledTasks: действие, триггер, субъект запуска и коды результата
New-ScheduledTaskAction, -Trigger и -Principal составляют задачу, регистрируемую через Register-ScheduledTask; запуск от NT AUTHORITY\SYSTEM не требует сохранённого пароля, а Get-ScheduledTaskInfo и документированные константы результатов планировщика позволяют агенту понять, успешно ли завершился последний запуск.
-
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.
Машиночитаемо: JSON