use resque mailer to send mail background

This commit is contained in:
RickXing 2012-05-12 17:01:09 +08:00
parent 9e5c016847
commit 25b80767bd
5 changed files with 38 additions and 32 deletions

View file

@ -1,2 +1,2 @@
mkdir -p tmp/pids
bundle exec rake environment resque:work QUEUE=post_receive RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes
bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production PIDFILE=tmp/pids/resque_worker.pid BACKGROUND=yes