This repository was archived by the owner on Jan 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ require 'capistrano/bundler'
25
25
# require 'capistrano/npm'
26
26
require 'capistrano/rails/assets'
27
27
require 'capistrano/rails/migrations'
28
- # require "whenever/capistrano"
28
+ require "whenever/capistrano"
29
29
30
30
# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
31
31
Dir . glob ( 'lib/capistrano/tasks/*.rake' ) . each { |r | import r }
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ gem "font-awesome-rails"
40
40
# monitoring
41
41
gem 'sentry-raven' , '~> 0.13.3'
42
42
43
+ gem 'whenever' , :require => false
44
+
43
45
# deployment
44
46
gem 'unicorn-rails'
45
47
gem 'capistrano' , '~> 3.4.0'
Original file line number Diff line number Diff line change 71
71
capistrano-bundler (~> 1.1 )
72
72
capistrano-rails-console (1.0.2 )
73
73
capistrano (>= 3.1.0 , < 4.0.0 )
74
+ chronic (0.10.2 )
74
75
coderay (1.1.1 )
75
76
concurrent-ruby (1.0.4 )
76
77
debug_inspector (0.0.2 )
218
219
websocket-driver (0.6.4 )
219
220
websocket-extensions (>= 0.1.0 )
220
221
websocket-extensions (0.1.2 )
222
+ whenever (0.9.7 )
223
+ chronic (>= 0.6.3 )
221
224
222
225
PLATFORMS
223
226
ruby
@@ -253,6 +256,7 @@ DEPENDENCIES
253
256
tzinfo-data
254
257
uglifier (>= 1.3.0 )
255
258
unicorn-rails
259
+ whenever
256
260
257
261
BUNDLED WITH
258
262
1.13.1
Original file line number Diff line number Diff line change
1
+ every 6 . hours do
2
+ runner "RubysecImporter.new.import!"
3
+ end
You can’t perform that action at this time.
0 commit comments