Agenda (nodejs) schedule

502 Views Asked by At

I've been playing with https://github.com/rschmukler/agenda, which is nice way to queue / schedule things in node app, but I have a question.

What is the right syntax to schedule beerRun to run at exact time of exact day? The way written below does not really do the trick.

agenda.schedule('2017-01-07 7:27', 'beerRun', []);

In the agenda's documentation they have 'tomorrow at 7:30pm', which is good, but I need something else (exact day / time).

0

There are 0 best solutions below