Skip to content

Instantly share code, notes, and snippets.

@DomathID
Last active January 10, 2021 19:31
Show Gist options
  • Save DomathID/3515531ac861e8495c6a6b667c60c468 to your computer and use it in GitHub Desktop.
Save DomathID/3515531ac861e8495c6a6b667c60c468 to your computer and use it in GitHub Desktop.
Uptime Robot Alternative Using Google App Script
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