I need a Nodejs scheduler that allows for tasks at different intervals

Viewed 164267

I am looking for a node job schedule that will allow me to schedule a number of tasks at different intervals. For instance,

  • call function A every 30 seconds
  • call function B every 60 seconds
  • call function C every 7 days

I also want to be able to start and stop the process.

So far, I have looked at:

  • later - the syntax confuses me, also apparently you cant schedule tasks beyond a month

  • agenda- seems the most promising, however I'm confused about the database functionality

  • timeplan - too simple, can't start and stop

I find the syntax of the latter confusing.

6 Answers
Related