parent
ecb4f16ec5
commit
d5f77d338b
7 changed files with 50 additions and 2 deletions
|
|
@ -6,3 +6,5 @@ set :values, [ { :id => 1, :label => _("Awful"), :color => '#ff4500' },
|
|||
{ :id => 5, :label => _("Good"), :color => '#228b22' },
|
||||
{ :id => 6, :label => _("Very good"), :color => '#006400' } ]
|
||||
set :expire_after, 7 * 24 * 60 * 60 # 7 days
|
||||
set :reminders, [ { :timeout => 48 * 60 * 60 },
|
||||
{ :timeout => 24 * 60 * 60 } ]
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ set :environment_variable, 'RACK_ENV'
|
|||
|
||||
every 5.minutes do
|
||||
rake "close_expired_votes"
|
||||
rake "send_email_reminders"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue