{"shas":[["ca7e621c40bd714b467c6918e17e1e4d6104e499","1d572acbfa68c7c6e541c7b840d6b622e5c0dc91@puppetlabs.com","(#8414) Add support for Windows scheduled tasks.\n\nThis commit adds support for a refactored 'Scheduled Task' type, along\nwith a new schedule task provider for Windows. The 'schedule_task\" type\nis a basic refactoring of the 'CRON' type.\n\nThe schedule task provider for Windows only supports \"Windows Task\nScheduler version 1.0\" functionality (WIndows Server 2003 at-style jobs).\n\nScheduling parameters are interpreted somewhat differently on Windows:\nthe hour, month, weekday, et. al. properties specify the starting date\nand time for the scheduled event. It is the 'repeat' property that\ndefines how frequently the task will be repeated.\n\nWindows tasks have several limitations over that standard Puppet cron\ntype: the wildcard ('*') value is genrally not supported under Windows,\nrather the various repeat periods (hourly, daily, etc.) imply all\nvalues. CRON range specifications such as '*/2' are likewise not\nsupported, but may be added in later releases.\n\nIn addition, Windows tasks have several additional task parameters used\nto control wherther and when the jobs are executed. For example, in\naddition to the standard cron-like scheduling: Windows tasks can be\ntriggeraed by user logins, system start-up and when the system becomes\nidle. Windows tasks can be configured to run on time only, and\noptionally deleted once the task has successfully run.\n\nCaveats: Both *nix-style (forward slash) and Windows (back slash) path\nseperators are supported. Embedded spaces in the command name must be\nquoted, i.e. '\"c:\\\\ruby\\\\version 187\\\\bin\\\\facter - Copies 1 2 3 4.bat\".\n\nThe task command property is not validated for syntax, existence nor\naccessibility. This should fixed in later releases. Tread lightly.\n\nUntil password treatment under Windows is resolved, all new tasks will\nrun as the local 'SYSTEM' user account. The 'user' property will be used\nsimply to specify the scheduled task creator.\n\nPaired With: Nick Lewis [nick@puppetlabs.com]","Cameron Thomas"]],"ref":"refs/heads/feature/2.7.x/8414-task_scheduling","size":1,"head":"ca7e621c40bd714b467c6918e17e1e4d6104e499","push_id":40532846}