Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js, date-time based reminder

I am building a SaaS application, where users logs in and creates reminders for a particular date and time in future, and when the time is met, my application is responsible for reminding the respective user about the reminder he/she has set in the past

Example: Say user "Foo" logs in and creates a reminder on 2:30pm 27th April 2018 (a date time in future).

My application should send an email on that exact date-time to "Foo" as any other reminder app.

Like this there can be thousands of reminders ACTIVE for hundreds of users.

Technology

Node.js

What I tried

I have tried packages like node-schedule and other cron-job solutions but I believe/found - Cron-jobs are not designed for solving problems like one of mine.

Please help me with a solution. Thanks

like image 297
Siddhartha Chowdhury Avatar asked Apr 26 '17 08:04

Siddhartha Chowdhury


1 Answers

Not sure if you are still looking for a solution but I came across this :https://github.com/agenda/agenda

Its a lightweight node.js scheduling library.

like image 106
codeinprogress Avatar answered Oct 09 '22 05:10

codeinprogress