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

153
Views
How to run node-scheduler once on mentioned time

How to run node-scheduler once on mentioned time not after every minute or second but once according to time passes in params. i have used this let someDate = new Date('22022-01-28T17:59:50.000+00:00') and

console.log('a')
}

but it is NOT WORKING ACCORING TO THE REQUIREMENT i just want to run once on the provided time .BUt now it is running again and again i have tried this too const date = new Date(2022, 1 ,28, 10, 57, 0) like i want to run it on 28-01-2022 at 10:57pm But it is not running

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It accepts hour in 24 hour format, so

new Date(2022, 1 ,28, 22, 57, 0) 

should be the correct approach.

about 4 years ago · Juan Pablo Isaza Report
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!