Last active
February 21, 2016 20:13
-
-
Save p1nesap/296a01728019d4b47e2d to your computer and use it in GitHub Desktop.
Time trigger function for YouTube API
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
//calls createDoc function from YouTubeAPI.gs and updates every 6 hours. | |
function createTimeDrivenTriggers() { | |
ScriptApp.newTrigger('createDoc') | |
.timeBased() | |
.everyHours(6) | |
.create(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment