I am running jobs from the 'node-schedule' module.
On localhost everything works great but when I upload to production in Heroku it doesn't.
i have changed my timezone in the settings -> var config to TZ at Asia/Jerusalem but it still doesn't work. Any idea why? Uploading my code although I think it is something with Heroku, not the code. Currently updating every minute just to test it, usefully its once every 1.5 hours
const schedule = require("node-schedule");
const needle = require("needle");
let j = schedule.scheduleJob("* /1 * * * *", function() {
needle.put("https://myserver.herokuapp.com/myendpoint");
});