Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

kronos (6) Versions 0.1.1

Kronos manages windows scheduled tasks

Policyfile
Berkshelf
Knife
cookbook 'kronos', '= 0.1.1', :supermarket
cookbook 'kronos', '= 0.1.1'
knife supermarket install kronos
knife supermarket download kronos
README
Dependencies
Quality -%

Description

Manages Windows {2003,2008} Scheduled Tasks via settings stored inside chef data bags.

Requirements

Windows, task scheduler version 1 or 2.

Attributes

Attributes are extremely limited and mostly point at templates. All task configuration information is located inside data bags. See "schedule.rb" attribute file for details.

Usage

Give tasks a name and place their settings into a data bag. Then create another data bag that contains the hostnames of your nodes and attach a comma-delineated list of task names to each node. Kronos will ensure that the tasks are appropriately scheduled on the servers.

Kronos for Windows 2003 is more simplistic than the 2008 version. For Windows 2003, Kronos does not permit "non-managed" tasks, as it deletes all tasks at the beginning of each run. On Windows 2003, if the task does not have the correct data bag entry, it will be deleted by Kronos on the subsequent run. This was for simplicity sake. Kronos for 2003 accepts all the main task scheduler version 1.0 settings; see "create_task.bat.erb" for the command line that is run, and the "schedule.rb" attribute file for additional information.

Kronos for Windows 2008 is slightly more advanced in that it permits "non-managed" tasks to co-exist with Kronos tasks. All tasks that are managed by Kronos have a "kronos-" prefix; this is the primary method of distinguishing between them. Kronos for Windows 2008 currently accepts slightly fewer schedule options than Windows 2003; at the moment they are limited to "minute" "hourly" and "daily". Other scheduling options will be added at a later date as the task.xml.erb file is expanded. See "schedule.rb" attribute file for details.

Note that task scheduler 2.0 for Windows 2008 is significantly more complicated than version 1.0, hence the mucking about with the registry.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found