Search code examples
ruby-on-railssidekiq

Can I run a rake task to simulate sidekiq running?


I have a rails app that I want to use sidekiq on.

Before I figure out how to setup sidekiq on the server etc., is it possible for me to create a rake task that will run the sidekiq workers for any pending jobs?

This isn't a production solution I know, but I just want to make sure everything else is working on the server and for the time being me running a rake task on the server is fine as it is more for QA'ing at this point.


Solution

  • Log into the server, cd to the app's dir and run 'bundle exec sidekiq' manually.