There is literally no tutorial about using Heroku Scheduler with Node.js. Assume that I have a function called sayHello() and I would like to run it every 10 mins. Ho
Following steps work in my situation.
worker.js file.
function sayHello() {
console.log('Hello');
}
sayHello();
Here are something should notice
heroku run node worker.js to check if it work. It should be show 'Hello' in your terminal.