New in version 2.0.
Arguments to provide scheduled task action
Days of the week to run a weekly task, not idempotent
The description for the scheduled task
Enable/disable the task
Command the scheduled task should execute
The frequency of the command, not idempotent
Name of the scheduled task
Task folder in which this task will be stored
State that the task should become
Time to execute scheduled task, not idempotent
User to run scheduled task as
# Create a scheduled task to open a command prompt - win_scheduled_task: name: TaskName description: open command prompt executable: cmd arguments: -opt1 -opt2 path: example time: 9am frequency: daily state: present enabled: yes user: SYSTEM
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support