title: How to schedule tasks with node-schedule in a for loop?
body: <p>I have a problem where I have to schedule some tasks at different times in a day, for that one time scheduling I am using a cron to get all the data and schedule it accordingly but when i schedule the job in a FOR loop. each job gets executed multiple times. Here's my code</p>
  <pre><code>for(var i=0;i&lt;_resultDataToPushLength;i++)
  {
    var __date90=new Date(_DatesPlus90[i])
    var __date80=new Date(_DatesPlus80[i])
    var __rescheduleDate=new Date(_DatesToReschedule[i])
    var j = schedule.scheduleJob(scheduleId,[__date90,__date80,__rescheduleDate] ,     
  function() {
    console.log(scheduleId)
  })
  </code></pre>
  <p>}</p>
  <p>This log prints multiple times...</p>