Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
Closed
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
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ gem 'sentry-raven'
gem 'sidekiq'
gem 'skylight'
gem 'pry-rails'
gem 'whenever', '~> 0.10.0'

group :development, :test do
gem 'awesome_print', '~> 1.8'
Expand Down
7 changes: 6 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ GEM
byebug (9.0.6)
case_transform (0.2)
activesupport
chronic (0.10.2)
coderay (1.1.2)
concurrent-ruby (1.0.5)
connection_pool (2.2.1)
Expand Down Expand Up @@ -209,6 +210,8 @@ GEM
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
whenever (0.10.0)
chronic (>= 0.6.3)

PLATFORMS
ruby
Expand Down Expand Up @@ -241,10 +244,12 @@ DEPENDENCIES
sendgrid-ruby
sentry-raven
sidekiq
skylight
spring
spring-watcher-listen (~> 2.0.0)
vcr (~> 3.0, >= 3.0.3)
webmock (~> 3.0, >= 3.0.1)
whenever (~> 0.10.0)

BUNDLED WITH
1.15.4
1.16.1
10 changes: 10 additions & 0 deletions config/schedule.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Use this file to easily define all of your cron jobs.
#
# It's helpful, but not entirely necessary to understand cron before proceeding.
# http://en.wikipedia.org/wiki/Cron
#
# Learn more: https://github.com/javan/whenever

every 1.day, at: '3:00' do
rake "git_hub:collect_statistics"
end