Resque scheduler wont run in background
swistaczek opened this issue · 3 comments
swistaczek commented
Hi,
I try to use "resque:scheduler:start" task but I found out that resque scheduler wont run in background:
*** [Resque Scheduler] Resque scheduler not running
* executing `resque:scheduler:start'
* executing "cd /home/homecard/app/production/current && RAILS_ENV=production PIDFILE=./tmp/pids/scheduler.pid BACKGROUND=yes bundle exec rake resque:scheduler"
servers: ["homecard.com.pl"]
[homecard.com.pl] executing command
** [out :: homecard.com.pl] 2012-09-03 00:45:07 Scheduling generate_invoices
... keps hanging
duhast commented
I'm having same problem
duhast commented
Also it's probably an issue of rescue-scheduler
, not capistrano-resque
since manual start hangs also:
root@web-1:/var/www/apps/mps/current# RAILS_ENV=production PIDFILE=./tmp/pids/scheduler.pid BACKGROUND=yes bundle exec rake resque:scheduler
2012-09-08 12:03:45 Scheduling send_new_jobs_notifications
...... zzZZZ... it hangs :( ....