Search code examples
ruby-on-railsrubyruby-on-rails-4delayed-job

How to run delayed_jobs in production environment


I am using delayed_job in rails application development and in development environment i use bin/delayed_job start

But how to do the same in production environment?


Solution

  • RAILS_ENV=production bin/delayed_job start
    

    This should make the delayed jobs run in production env