I’ve been reading through Heroku’s documentation but just found it plain confusing. I have an app up that has both a web-based front-end (with web process) and a task that’s set to run every day at midnight by Heroku Scheduler (shows up on heroku ps as run.1).
So, my heroku ps looks like this:
Process State Command
------- ---------- ------------------------------------
run.1 up for 21h python webpage/listings.py
web.1 up for 8m python ./manage.py runserver 0.0.0..
What I’m trying to figure out is, is this considered two dynos? Is the run task considered a background task?
Main question: Will this cost money?
Yes, a Heroku Scheduler will accrue usage and will cost money if you go over your 750 free dyno-hours you are given per app each month. As long as you keep within that limit, you won’t be charged.
Scheduler runs one-off dynos, which accrue usage just like regular dynos. They will appear with a “scheduler” dyno type in your Heroku invoice.