src/connectors/appscript-connector.js
/**
   * initTriggers - Create recurring and onEdit triggers if not exist.
   */
Create recurring and onEdit triggers if not exist.
Create recurring and onEdit triggers if not exist .
initTriggers() {
    AppScriptHelper.deleteAllTriggers();
    Object.keys(SystemVars).forEach(key => {
      this.setSystemVar(key, '');
    });
    let triggerId;
    triggerId = AppScriptHelper.createTimeBasedTrigger(
        'submitRecurringTests', 10 );
    this.setSystemVar(SystemVars.RECURRING_TRIGGER_ID, triggerId);
  }
initTriggers ( ) { AppScriptHelper . deleteAllTriggers ( ) ; Object . keys ( SystemVars ) . forEach ( key => { this . setSystemVar ( key , '' ) ; } ) ; let triggerId ; triggerId = AppScriptHelper . createTimeBasedTrigger ( 'submitRecurringTests' , 10 ) ; this . setSystemVar ( SystemVars . RECURRING_TRIGGER_ID , triggerId ) ; }
initTriggers - Create recurring and onEdit triggers if not exist.
initTriggers - Create recurring and onEdit triggers if not exist .
// Create recurring trigger. /* minutes */