function createTrigger() { // Trigger every 1 minute ScriptApp.newTrigger('addNumber') .timeBased() .everyMinutes(1) .create(); }