Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #2 from CodiTramuntana/Add-whenever-gem
Browse files Browse the repository at this point in the history
Add whenever gem
  • Loading branch information
Aitor Lopez Beltran authored Jan 11, 2019
2 parents b7fb3fc + 40076ce commit e4377b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ gem 'graphql', '1.8.10'

gem 'delayed_job_active_record'
gem 'daemons'
gem "whenever"

gem 'puma', '~> 3.0'
gem 'uglifier', '>= 4.0.0'
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ GEM
cells (>= 4.1.6, < 5.0.0)
childprocess (0.9.0)
ffi (~> 1.0, >= 1.0.11)
chronic (0.10.2)
coderay (1.1.2)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
Expand Down Expand Up @@ -726,6 +727,8 @@ GEM
websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
whenever (0.10.0)
chronic (>= 0.6.3)
wicked (1.3.3)
railties (>= 3.0.7)
wisper (2.0.0)
Expand Down Expand Up @@ -758,6 +761,7 @@ DEPENDENCIES
spring-watcher-listen (~> 2.0.0)
uglifier (>= 4.0.0)
web-console
whenever

RUBY VERSION
ruby 2.5.1p57
Expand Down
3 changes: 3 additions & 0 deletions config/schedule.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
every 1.day, at: '2:00 am' do # 1.minute 1.day 1.week 1.month 1.year is also supported
rake "decidim:metrics:all"
end

0 comments on commit e4377b4

Please sign in to comment.