You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ In your "config/deploy.rb" file:
190
190
require"whenever/capistrano"
191
191
```
192
192
193
-
Take a look at the recipe for options you can set. <https://github.com/javan/whenever/blob/master/lib/whenever/capistrano/v2/recipes.rb>
193
+
Take a look at the recipe for options you can set. <https://github.com/javan/whenever/blob/main/lib/whenever/capistrano/v2/recipes.rb>
194
194
For example, if you're using bundler do this:
195
195
196
196
```ruby
@@ -230,7 +230,7 @@ In your "Capfile" file:
230
230
require"whenever/capistrano"
231
231
```
232
232
233
-
Take a look at the [load:defaults task](https://github.com/javan/whenever/blob/master/lib/whenever/capistrano/v3/tasks/whenever.rake) (bottom of file) for options you can set. For example, to namespace the crontab entries by application and stage do this in your "config/deploy.rb" file:
233
+
Take a look at the [load:defaults task](https://github.com/javan/whenever/blob/main/lib/whenever/capistrano/v3/tasks/whenever.rake) (bottom of file) for options you can set. For example, to namespace the crontab entries by application and stage do this in your "config/deploy.rb" file:
234
234
235
235
```ruby
236
236
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
@@ -327,8 +327,4 @@ It's a little bit dated now, but remains a good introduction.
0 commit comments