What is Heroku Scheduler?
Once you install the add-on, you can use a dashboard to configure jobs to run every 10 minutes, hourly, or daily, at a specified time. The jobs will run in one-off dynos and show up in your logs as a dyno named
scheduler.x. These one-off dynos also count towards you monthly usage
Install the add on
Run the following from the project directory that’s already configured with a Heroku app.
heroku addons:open scheduler
Go to your app’s Heroku dashboard > Resources > Heroku Scheduler.
Click Create job.
Configure job using the Job Editor. In the
Run Command field, enter whatever job you want to run.