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.
Try to use crontab
here you can refer to all jobs whenever you want later
var cron = require('crontab');
cron.load(function(err, crontab) {
// show all jobs
var jobs = crontab.jobs();
// show jobs with conditions
var jobs = crontab.jobs({command:'ls -l', comment:/comment 1/});
}