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 of top green box install add-ons 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