Skip to content

Instantly share code, notes, and snippets.

@kieetnvt
Last active November 2, 2017 07:44
Show Gist options
  • Save kieetnvt/6fc5972711044a7d6e9d4e1d041f2113 to your computer and use it in GitHub Desktop.
Save kieetnvt/6fc5972711044a7d6e9d4e1d041f2113 to your computer and use it in GitHub Desktop.
Restart Resque with Rails 4
Restart with Capistrano:
cap production resque:restart
cap production resque:scheduler:restart
If you use resque-scheduler, when you have new job in resque_scheduler.yml, you will need restart redis server to verify it:
sudo /etc/init.d/redis_6379 stop
sudo /etc/init.d/redis_6379 start
or
redis-cli shutdown
redis-server (can have config file) (ex: redis-server /usr/local/etc/redis.conf)
Checklog:
/var/log/redis_6379.log or apps/production/current/log/resque.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment