If I have a worker called MigrationWorker
can I run that from a procFile
that would run when pushing code to Heroku?
This is my current procFile
that starts everything, but I wonder if I can either run it from a rake task or just somehow run the worker itself?
release: bin/rails db:migrate
web: bin/start-pgbouncer-stunnel bundle exec puma -p ${PORT:-3000}
worker: bundle exec sidekiq -c ${SIDEKIQ_CONCURRENCY:-5}