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0
- 3.0.0
- 2.0.0
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.0
- 1.3.12
- 1.3.10
- 1.3.8
- 1.3.6
- 1.3.4
- 1.3.2
- 1.3.0
- 1.2.8
- 1.2.6
- 1.2.4
- 1.2.2
- 1.2.0
- 1.0.4
- 1.0.2
- 1.0.0
- 0.0.1
Installs cron
cookbook 'cron', '= 1.3.4', :supermarket
knife supermarket install cron
knife supermarket download cron
cron Cookbook
Installs the cron package and starts the crond service.
Requirements
Platforms:
- RHEL family
- Debian family
- Solaris family
- Gentoo
Resources and Providers
cron_d
The cron_d
LWRP can be used to manage files in /etc/cron.d
. It supports the same interface as Chef's built-in cron
resource:
cron_d 'daily-usage-report' do minute 0 hour 23 command '/srv/app/scripts/daily_report' user 'appuser' end
Note: This LWRP does not function on Solaris platforms because they do not support running jobs stored in /etc/cron.d.
Attributes
-
minute
,hour
,day
,month
,weekday
- schedule your cron job. These correspond exactly to their equivalents in the crontab file. All default to "*". -
command
- the command to run. Required. -
user
- the user to run as. Defaults to "root". -
mailto
,path
,home
,shell
- set the corresponding environment variables in the cron.d file. No default.
License & Authors
- Author:: Joshua Timberman (joshua@opscode.com)
Copyright 2010-2012, Opscode, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
This cookbook has no specified dependencies.