paint-brush
3 Step Setting up Heroku schedule (cron) jobby@peterchang_82818
4,916 reads
4,916 reads

3 Step Setting up Heroku schedule (cron) job

by August 26th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Installing addon scheduler under the project directory, to activate the service for this specific project
featured image - 3 Step Setting up Heroku schedule (cron) job
 HackerNoon profile picture

1- Setting your credit card information in heroku

2- Install addon scheduler

Installing addon scheduler under the project directory, to activate the service for this specific project

$ heroku addons:create scheduler:standard

3- Setup script

Click install add-ons of top green box

Set up the script you would like to run

npm run postVideo

Reference

https://devcenter.heroku.com/articles/scheduler

https://devcenter.heroku.com/articles/scheduled-jobs-custom-clock-processes