Skip to content

Commit

Permalink
Merge pull request javan#476 from s-osa/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
javan committed Jul 22, 2014
2 parents 79e4f66 + e11b981 commit e5dc59d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ require "whenever/capistrano"

Take a look at the load:defaults (bottom of file) task for options you can set. <https://github.com/javan/whenever/blob/master/lib/whenever/capistrano/v3/tasks/whenever.rake>. For example, to namespace the crontab entries by application and stage do this.

In your in "config/deploy.rb" file:

```ruby
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
```
Expand Down

0 comments on commit e5dc59d

Please sign in to comment.