title: send sms from node based on time
body: <p>I have a scenario where if time of interview is 15 mins from system date then i need to send sms to a particular person .
  For this i am using schedular(cron) where it runs for every 15 mins and checks if time of interview(combinedDate in collections) is about 15 mins then it sends sms.</p>
  
  <p>js:</p>
  
  <pre><code>var Profiles = require('./profiles.model');
  var cron = require('cron');
  var cronJob = cron.job("* */15 * * * *", function() {
      var date = new Date();
      Profiles.find({
          combinedDate: Date.parse(Date.parse(date)+60000)
      },function(err, profiless) {
  
      console.log(profiless);
              console.info('cron job completed');
      });
  });
  cronJob.start();
  </code></pre>
  
  <p>For now i am just printing message "cron job completed" in console instead of sms.</p>
  
  <p>but here <code>console.log(profiless);</code> this statement giving me empty array.</p>
  
  <p>schema:</p>
  
  <pre><code>    var mongoose = require('mongoose'),
      Schema = mongoose.Schema;
  
      var ProfilesSchema = new Schema({
          name: String,
          uniqueId: String,
          combinedDate: Date,
          filepath: String,
          filename: String
      });
  
  module.exports = mongoose.model('Profiles', ProfilesSchema);
  </code></pre>
  
  <p>Any help would be appreciated.</p>