Set Windows Task Scheduler use PowerShell. For now, Only support ScheduledJob of every few minutes.
- Chef 11 or higher
- Windows 2008 R2 or later
- PowerShell 3.0 or higher
cookbook 'windows_scheduler', git: 'https://github.com/marcy-cookbooks/windows_scheduler.git'
depends 'windows_scheduler'
windows_scheduler_job "example job" do
path "C:\\path\\to\\job.ps1"
span_minutes 5
action :create
end
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
- License: Apache 2.0
- Author: Masashi Terui