* Move approver pruning from a weekly task to a monthly task. * Move weekly maintenance tasks from Wednesdays at 1:30am to Sundays at midnight (UTC).
21 lines
314 B
Ruby
21 lines
314 B
Ruby
# this is used in config/environments/production.rb.
|
|
env "RAILS_LOG_TO_STDOUT", "true"
|
|
|
|
set :output, "log/whenever.log"
|
|
|
|
every :hour do
|
|
rake "maintenance:hourly"
|
|
end
|
|
|
|
every :day do
|
|
rake "maintenance:daily"
|
|
end
|
|
|
|
every :sunday do
|
|
rake "maintenance:weekly"
|
|
end
|
|
|
|
every :month do
|
|
rake "maintenance:monthly"
|
|
end
|