code: function(trigger, job){
    this.nextTime = (!!trigger.start)?trigger.start:Date.now();
  
    //The rec
    this.period = (!!trigger.period)?trigger.period:-1;
  
    //The running count of the job, -1 means no limit
    this.count = (!!trigger.count)?trigger.count:-1;
  
    this.job = job;
  }
docs: The constructor of simple trigger