File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ ### 1.8.6
2+
3+ * Schedule rebuild job to run daily on staging
4+
15### 1.8.5
26
37* Disable clear_show_tc_serializer_cache method on production
Original file line number Diff line number Diff line change 1313
1414set :app_port , "80"
1515
16+ set :whenever_environment , proc { fetch :stage }
17+ require 'whenever/capistrano'
18+
1619# server-based syntax
1720# ======================
1821# Defines a single server with a list of roles and multiple properties.
Original file line number Diff line number Diff line change 11set :output , 'log/cron.log'
22
3- every :saturday , :at => '1:42am' do
3+ db_migrate_rebuild_period = @environment == 'production' ? :saturday : :day
4+
5+ every db_migrate_rebuild_period , :at => '1:42am' do
46 rake "db:migrate:rebuild"
57end
68
You can’t perform that action at this time.
0 commit comments