old_contents: var createJob = require('./createJob');
  
  module.exports = function (sails) {
    return {
      defaults: {cron: {}},
  
      initialize: function (cb) {
        var config = sails.config.cron;
        var tasks = Object.keys(config);
  
        tasks.forEach(function (time) {
          return createJob({
            cronTime: time,
            onTick: config[time] instanceof Function ? config[time] : config[time].onTick,
            onComplete: config[time].onComplete,
            timezone: config[time].timezone
          });
        });
  
        cb();
      }
    };
  };
  
new_contents: var createJob = require('./createJob');
  
  module.exports = function (sails) {
    return {
      jobs: {},
  
      defaults: {cron: {}},
  
      initialize: function (cb) {
        var config = sails.config.cron;
        var tasks = Object.keys(config);
        tasks.forEach(function (time) {
          this.jobs[time] = createJob({
            cronTime: time,
            onTick: config[time] instanceof Function ? config[time] : config[time].onTick,
            onComplete: config[time].onComplete,
            timezone: config[time].timezone
          });
        }.bind(this));
  
        cb();
      }
    };
  };
  
subject: Implement returning created jobs