Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
Using node-scheduler to run code and deploying on heroku server

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!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!