Peter Chang

@peterchang_82818

3 Step Setting up Heroku schedule (cron) job

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

More by Peter Chang

Topics of interest

More Related Stories