Skip to content

Commit

Permalink
Rename database variable in schedule for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
epistrephein committed Dec 28, 2023
1 parent 11f2b22 commit 368902a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/schedule.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# frozen_string_literal: true

job_type :rake, 'cd :path && :database_variable=:database :bundle_command rake :task :output'
job_type :rake, 'cd :path && :database_variable=:database_url :bundle_command rake :task :output'

set :chronic_options, hours24: true

set :database_variable, 'REDIS_URL'
set :database, 'redis://localhost:6379/0'
set :database_url, 'redis://localhost:6379/0'

every 1.hour do
rake 'redis', output: 'log/redis.log'
Expand Down

0 comments on commit 368902a

Please sign in to comment.