Skip to content

Instantly share code, notes, and snippets.

Created October 4, 2017 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0f21aca219cd6f7ec57c47d7fe481751 to your computer and use it in GitHub Desktop.
Save anonymous/0f21aca219cd6f7ec57c47d7fe481751 to your computer and use it in GitHub Desktop.
my_task:
module.run:
- name: task.create_task
- m_name: 'my-task'
- user_name: 'System'
- kwargs: {
action_type: 'Execute',
cmd: 'net start my-task',
trigger_type: 'Daily',
start_date: '2017-1-20',
start_time: '3:00AM',
repeat_interval: '1 hour',
repeat_duration: '1 day',
execution_time_limit: '30 minutes'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment