Questions tagged [laterjs]

JavaScript library for defining schedules, then calculating future or previous schedule occurrences. Works in Node and in the browser.

From its website:

The simplest way to work with recurring schedules. Easily define complex schedules then quickly calculate future or previous schedule occurrences. Works in Node and in the browser.

38 questions
28
votes
5 answers

Equivalent of Celery in Node JS

Please suggest an equivalent of Celery in Node JS to run asynchronous tasks. I have been able to search for the following: (Later) Kue (Kue), coffee-resque (coffee-resque) cron (cron) node-celery(node celery) I have run both manual and automated…
garima
  • 5,154
  • 11
  • 46
  • 77
8
votes
1 answer

Getting Cron Expression from Later.js

We are storing schedules as cron expressions in database. The schedules are modified in a web page and I'm using Later.js for this. Works great to parse the Cron expression. Now I would like to output the modified schedule to a Cron expression that…
Andreas
  • 659
  • 6
  • 17
5
votes
2 answers

Every 3 and 6 Months Recurrence on later.js stating from a particular date

I am trying to create recurrence every 3 and 6 months using the later.js(https://github.com/bunkat/later). This is my code // My value.scheduled_date is 2018-09-06 var d = new Date(value.scheduled_date); var day = d.getDate(); // month count will…
Aravind Srinivas
  • 320
  • 3
  • 11
3
votes
2 answers

Later.js execute Function on Schedule?

I am going through the Later.js docs and it documents how to set the schedule very well - but doesn't show how to execute the function once you've done so. So if I have function logit(){ console.log('it is done'); } And I want it to run once a day…
itamar
  • 3,837
  • 5
  • 35
  • 60
2
votes
1 answer

synced-cron to run once - Meteor

I want to run a 'scheduled job' in meteor which needs to be run only once at a specified time. I have the access of the date object. i've tried the below cron expression but didn't get the expected behavior. here's the code snippet. schedule:…
Munna
  • 109
  • 2
  • 12
2
votes
1 answer

later.js doesn't get next datetime of cron expression

I use library later.js to get value next datetime from cron expression. But result's 5 times next isn't incorrect with time default ("7/16/2015 10:44:47"). This Result is deviation "hour". this is my code.