I am using the node-schedule library
import { RecurrenceRule, scheduleJob } from "node-schedule";
var rule = new RecurrenceRule();
// rule.dayOfWeek = [0, 6];
rule.hour = [1, 5, 9, 13, 17, 21];
rule.minute = [30];
rule.tz = "Asia/Calcutta";
var j = scheduleJob(rule, function () {
console.log("HELLO");
});
I want to deploy this code on Heroku (with timezone UTC). I want this code to run as per my time zone ASIA - INDIA(Calcutta)[UTC 5:30]. I want this code to run at 1:30,5:30,9:30,13:30,17:30,21:30 I want to confirm whether there will be any conflict of timezone on the Heroku server Please look into this. Is this right!