File: create_task_v1.pp

package info (click to toggle)
puppet-agent 8.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,392 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (10 lines) | stat: -rw-r--r-- 267 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
scheduled_task { 'Run Notepad':
  ensure      => present,
  command     => 'C:\Windows\System32\notepad.exe',
  description => 'Task to run notepad',
  trigger     => {
    schedule   => daily,
    start_time => '12:00',
  },
  provider    => 'taskscheduler_api2',
}