Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Custom-Cron Documentation to prevent chef incompatibilities while adding cronjobs #457

Open
wants to merge 1 commit into
base: next-release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cookbooks/thinking_sphinx_3/recipes/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
end
end
end
end
end
4 changes: 3 additions & 1 deletion custom-cookbooks/cron/cookbooks/custom-cron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This cookbook will not install cron jobs for the root user, it must be modified
if this is required. Cron jobs are installed for the default application user,
typically called `deploy`.

For Chef compatibility it is recommended to only use numbers (not names) for days/months while specifying cronjobs .

## Installation

For simplicity, we recommend that you create the cookbooks directory at the root
Expand Down Expand Up @@ -57,7 +59,7 @@ All customizations go to `cookbooks/custom-cron/attributes/default.rb`.
Add your cron jobs as an array of hashes in `default[:custom_crons]` You must
specify a name, time, command and instance name or instance type. The following arguments are valid: `app`,`app_master`, `db`, `util`, `all`, or "instance_name". The time value must be the
full string containing minute, hour, day, month and weekday separated by spaces
(eg: '* * * * *').
(eg: * * * * *’), using numbers rather than names.

```
default[:custom_crons] = [
Expand Down