Last active
January 10, 2021 19:31
-
-
Save DomathID/3515531ac861e8495c6a6b667c60c468 to your computer and use it in GitHub Desktop.
Uptime Robot Alternative Using Google App Script
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 trigger() { | |
var url = [ | |
"my project", | |
"my project | |
]; | |
for(var x = 0; x<url.length; x++){ | |
var uri = url[x]; | |
try{ | |
UrlFetchApp.fetch(uri); | |
}catch(err){Logger.log(err.message)} | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment