Last active
November 2, 2017 07:44
-
-
Save kieetnvt/6fc5972711044a7d6e9d4e1d041f2113 to your computer and use it in GitHub Desktop.
Restart Resque with Rails 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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