title: passing an extra parameter in jobschedule in node.js
body: <p>Is there any possible way to pass any extra parameter instead of <code>date</code> in  <code>schedule.scheduleJob(date,function(id))</code></p>
  
  <p>The below code is not working</p>
  
  <pre><code>var id =record.id;
    var date =record.date;
  
  
      jobsCollection.save({
       id: record.id
   }, {
       $set: record
   }, function (err, result) {
       var j = schedule.scheduleJob(date, function (id) {
           return function () {
               console.log("inside----------")
               console.log(id)
           };
  
       }(id));
       if (!err) {
           return context.sendJson([], 404);;
       }
  
  
   });
  </code></pre>
  
  <p>i want to pass the date along with another data to schedule jobs. so that i can perform other operations based on the <code>date schedul</code>e and that <code>id</code></p>