Suite
This commit is contained in:
parent
9fca4d6608
commit
43e206bd40
@ -7,7 +7,7 @@ class KapsRappelItem < ActiveRecord::Base
|
||||
after_create do
|
||||
puts "BBBBBBBB"
|
||||
|
||||
GeneralMailer.new_send_qi_mail(:to => self.kaps_rappel.kap.p_customer.email, :subject => "Rappel : #{self.kapsme.name}", :body => "Rappel, la tâche \"#{self.kapsme.name}\" n'a pas été cochée aujourd'hui :( http://kaps.quartz.xyz/").deliver
|
||||
GeneralMailer.new_send_qi_mail(:to => self.kaps_rappel.kap.p_customer.email, :subject => "Rappel : #{self.kapsme.name}", :body => "Rappel, la tâche \"#{self.kapsme.name}\" n'a pas été cochée aujourd'hui :( <br /> http://kaps.quartz.xyz/").deliver
|
||||
|
||||
|
||||
end
|
||||
|
@ -42,9 +42,8 @@ default_run_options[:pty] = true
|
||||
|
||||
require "rvm/capistrano"
|
||||
require 'bundler/capistrano'
|
||||
require "whenever/capistrano"
|
||||
|
||||
set :whenever_identifier, ->{ "#{fetch(:application)}_#{fetch(:stage)}" }
|
||||
|
||||
|
||||
|
||||
load 'deploy/assets'
|
||||
@ -83,7 +82,7 @@ namespace :deploy do
|
||||
|
||||
sudo "sudo systemctl enable quartz_app@#{application}"
|
||||
|
||||
#run "cd #{current_path}; bundle exec whenever --update-crontab"
|
||||
run "cd #{current_path}; bundle exec whenever --update-crontab #{application}_production"
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user