Friday, 28 April 2017

Scheduling an email report that runs based on user selected date and time

I came across these two libraries https://www.npmjs.com/package/node-schedule and https://www.npmjs.com/package/node-cron.

The user can disable/enable email reports for a scheduled task.The scheduled report can be monthly/weekly/daily.

I save the scheduled timings in the database.But how do i refer a scheduled cron later in future if required to destroy.



via vishwasraj

No comments:

Post a Comment