-
Notifications
You must be signed in to change notification settings - Fork 9
Background Jobs
Valerie Maher edited this page Apr 14, 2016
·
28 revisions
We use Resque to run background jobs. The job queue is stored in Redis.
If you are using a mac, you can use homebrew to install redis:
brew install redis
If you're using a Vagrant box, redis server is probably already installed and running.
You can check with the following command: redis-cli ping
, the server should respond with "pong".
To start the redis server:
redis-server /usr/local/etc/redis.conf
To see the status of recent jobs in the browser console:
resque-web -N curation_concerns:development
To start worker(s) to run the jobs:
QUEUE=* VERBOSE=1 rake resque:work