みてるぞ 2 weeks ago
parent
commit
405690a631
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      backend/config/schedule.rb

+ 3
- 0
backend/config/schedule.rb View File

@@ -1,3 +1,6 @@
set :output, standard: '/var/log/btrc_hub_nico_sync.log',
error: '/var/log/btrc_hub_nico_sync_err.log'

every 1.day, at: '3:00 pm' do
rake 'nico:sync', environment: 'production'
end

Loading…
Cancel
Save