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

The cronic cookbook has been deprecated

Author provided reason for deprecation:

The cronic cookbook has been deprecated and is no longer being maintained by its authors. Use of the cronic cookbook is no longer recommended.

RSS

cronic (6) Versions 1.0.0

Installs/configures cronic

Policyfile
Berkshelf
Knife
cookbook 'cronic', '= 1.0.0', :supermarket
cookbook 'cronic', '= 1.0.0'
knife supermarket install cronic
knife supermarket download cronic
README
Dependencies
Changelog
Quality 86%

Cronic Cookbook README

Cookbook Version
Build Status
Coverage Status

A cookbook for managing cron jobs under Cronic, a simple cron script wrapper.

Cronic lets you write cron scripts that actually output content, but doesn't
actually output anything to stdout/stderr unless the exit code is non-zero.
This makes it significantly easier to debug cron scripts when they do go bad.

For more info: http://habilis.net/cronic/

Requirements

This cookbook requires at least Chef 12. It is tested against the two most
recent major Chef versions (currently 13.x and 12.x) and the two most recent
major releases of Ubuntu (16.04 and 14.04), Debian (9 and 8), RHEL (7 and 6),
and Amazon Linux (2 and 1).

Usage

Declare instances of the cronic resource in recipes the same way you would
the cron resource.

Recipes

default

This recipe is empty, only included so that an include_recipe 'cronic' will
do nothing instead of raising an error.

Resources

cronic

A custom resource for managing cron jobs to be run via Cronic. Note that the
cronic resource uses the built-in cron resource under the covers, so writes
jobs to the crontab and not /etc/cron.d/.

Syntax:

cronic 'Restart Nginx monthly' do
  command 'service nginx restart'
  user 'root'
  minute 0
  hour 4
  day 1
  month '*'
  weekday '*'
  action :create
end

All actions and properties should be the same as for Chef's built-in
cron resource.

Actions:

Action Description
:create Create the cron job
:delete Delete the cron job

Properties:

Property Default Description
command Resource name The command to run via Cronic
minute '*' The minute(s) to run the job
hour '*' The hour(s) to run the job
day '*' The day(s) to run the job
month '*' The month(s) to run the job
weekday '*' The day(s) of the week to run the job
user 'root' The user as whom to run the job

Maintainers

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Cronic Cookbook CHANGELOG

This file is used to list changes made in each version of the cronic cookbook.

1.0.0 (2017-01-08)

  • Pull in v3 of the cronic script
  • Convert the cronic resource into a modern custom resource

0.5.0 (2013-04-10)

  • Initial release!

Collaborator Number Metric
            

1.0.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.0 passed this metric

Foodcritic Metric
            

1.0.0 passed this metric

License Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.0 passed this metric

Version Tag Metric
            

1.0.0 passed this metric