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

RSS

kronos (6) Versions 0.2.4

Kronos manages windows scheduled tasks

Berkshelf/Librarian
Policyfile
Knife
cookbook 'kronos', '= 0.2.4'
cookbook 'kronos', '= 0.2.4', :supermarket
knife cookbook site install kronos
knife cookbook site 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. Additionally, kronos now keeps the working directory clean of all non-active task xml files, so no zombie tasks will get rescheduled if they were previously removed from the host data bag!

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", "daily", "weekly" and "monthly". NOTE! "Monthly" currently means something different for Task Scheduler version 1.0 and 2.0; in Task Scheduler 2.0 it means "once-a-month". The "modifier" setting for "monthly" type tasks represents the number of "the day of the month" on the calendar. Ditto, "weekly" utilizes the "modifier" setting in a crontab-esk manner (0=Sunday, 5=Friday, etc). 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

reginjector >= 0.1.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found