node-cron icon indicating copy to clipboard operation
node-cron copied to clipboard

How to send email for a particular scheduled date and time ? [Schedule Email Feature]

Open Ak-Ajithkumar opened this issue 3 years ago • 1 comments

Description

I tried cron jobs for scheduling but it gets triggered for each and every day at that particular time.

Also workaround Gmail API for scheduling, but there isn't a feature in Gmail API My requirement is to send a scheduled email for the given time by the user.

Here I'm using Postgresql as DB and for backend Nest.js

Kindly help me to figure out this issue.

Screenshots

No response

Additional information

Need to schedule emails like gmail does in nestjs.

Ak-Ajithkumar avatar May 06 '22 10:05 Ak-Ajithkumar

It would be better to use something like Redis with a delayed job for this. Cron is somewhat focused on executing multiple times indefinitely.

IgnisDa avatar May 08 '22 07:05 IgnisDa