Created
October 17, 2016 13:56
-
-
Save tomrandle/09c5857df60c9dd6d9ae7518990498ee to your computer and use it in GitHub Desktop.
createTimeTrigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createTimeTriggers(hour) { | |
ScriptApp.newTrigger('lunchReminder') | |
.timeBased() | |
.everyHours(hour) | |
.create(); | |
ScriptApp.newTrigger('notifyOrdersAppearCompleted') | |
.timeBased() | |
.everyMinutes(5) | |
.create(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment