Node.js, date reminder

I am creating a SaaS application where users log in and create reminders for a specific date and time in the future , and when the time is fulfilled, my application is responsible for reminding the respective user of the reminder he has set in the past

Example: Say a user signs up and creates a reminder at 2:30 pm on April 27, 2018 (future time). "Foo"

My app needs to send an email at this exact date-time just like any other reminder. "Foo"

Likewise, there can be thousands of ACTIVE reminders for hundreds of users.

Technology

Node.js

What i tried

I have tried packages like node-schedule and other solutions for working with cron-jobs, but I believe / found - Cron jobs are not designed to solve problems like mine.

Please help me with a solution. Thanks to

+3


source to share


2 answers


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



Its lightweight scheduling library node.js.

+1


source


If this is an email reminder, you should try SendGrid or Mailgun. They both offer a limited number of emails for free. You can also try using Twilio for sms reminders. Everything can be set up pretty easily, you just need to make api calls when setting reminders.



0


source







All Articles