Skip to content

Conversation

olleolleolle
Copy link
Collaborator

@olleolleolle olleolleolle commented Aug 19, 2025

We use the Heroku Scheduler to run the "jobs:workoff" Rake task (from the Delayed Job gem).

https://devcenter.heroku.com/articles/procfile#other-process-types mentions that

No process types besides web and release have special properties.

And this is a worker: named process type.

This whole "worker" dyno can be stopped. The cost for this dyno is about 25 USD per month.

We have it double-configured, both correctly in Scheduler AND wrongly with this line in the Procfile.

We use the Heroku Scheduler to run the "jobs:workoff" Rake task.

This whole dyno can be stopped. We have it double-configured, along with the working Heroku Scheduler setup.
Copy link
Contributor

@KimberleyCook KimberleyCook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiiiice 🎉

@olleolleolle olleolleolle merged commit a93f2d9 into codebar:master Aug 20, 2025
2 checks passed
@jonodrew
Copy link
Contributor

Interesting to note that removing this hasn't actually removed the worker dyno in staging, so we'll need to do that manually I guess?

@olleolleolle olleolleolle deleted the remove-worker-from-procfile-and-use-heroku-scheduler branch September 16, 2025 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants