Skip to content
Merged
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
4 changes: 3 additions & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ test:
#
production:
<<: *default
database: agentv2_production
database: agentv2_development
username: agentv2
password: <%= ENV["AGENTV2_DATABASE_PASSWORD"] %>
host: localhost
port: 5432
cache:
database: agentv2_production_cache
migrations_paths: db/cache_migrate
Expand Down
2 changes: 1 addition & 1 deletion config/schedule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
end

every "0 0 1 * *" do
rake "users:reset_monthly_levels"
command "cd /root/Backend && RAILS_ENV=production bundle exec rake users:reset_monthly_levels --silent >> log/cron.log 2>&1"
end
Loading