Update watchtower.sh

This commit is contained in:
Mark McDonnell 2016-04-08 11:19:23 +01:00
parent 3842caf107
commit cea41d42df
1 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,12 @@
#!/bin/bash
#
# Example:
# /bin/bash ./watchtower.sh
#
# Description:
# Curls the specified URLs in parallel and checks their response status codes
# It then sends any non-200 status code responses to Slack
function cleanup() {
rm results.txt
rm temp.txt