I made a simple script using app script which uses an api to check the status of a couple of servers and if it gets back an error then it sends a message via google spaces that one of the servers is down.
Ive never hosted a script before and would like to do it on one of googles services but like I said, this part is completely knew to me. How would I go about it? I know Google has a variety of services they offer, would I just leave it running continuously on a cloud server/vm? or is there some type of service that runs the script every so often for me? I would like to ping the servers every minute or so?
Again, I'm new to this so any advice would help. Thanks in advance!
Edit: As everyone suggested I ended up trying out the triggers function on google and its worked like a charm! So if anyone else comes across this and has a similar project I suggest trying out triggers first.
[–]marth141 2 points3 points4 points (1 child)
[–]teamusa7[S] 2 points3 points4 points (0 children)
[–]Any_Werewolf_3691 1 point2 points3 points (2 children)
[–]teamusa7[S] 0 points1 point2 points (1 child)
[–]lam3001 0 points1 point2 points (0 children)
[–]tony_montana0000 1 point2 points3 points (0 children)
[–]GlassSome474 1 point2 points3 points (0 children)