diff --git a/scripts/http_tail.sh b/scripts/http_tail.sh new file mode 100755 index 0000000..1492583 --- /dev/null +++ b/scripts/http_tail.sh @@ -0,0 +1,13 @@ +#!/usr/bin/bash + +URL=${URL:-"https://skweb1.ko.seznam.cz:8888/szn-sklik-userproxy/access_log"} + +if [ -z "$USER" -o -z "$PASSWD" ]; then + echo "Envs USER and PASSWD are mandatory!" + exit 1 +fi + +while(true); do + sleep 2; + wget -c --password $PASSWD --user lukas.svoboda2 -o /dev/null --no-check-certificate "$URL" +done