Skip to content

Instantly share code, notes, and snippets.

@rajiteh
Created November 1, 2014 14:47
Show Gist options
  • Save rajiteh/54569cee8762c59f6564 to your computer and use it in GitHub Desktop.
Save rajiteh/54569cee8762c59f6564 to your computer and use it in GitHub Desktop.
#!/bin/bash
# usage: script.name <url_to_ping>
url=$1
while true
do
curl -iI $url
sleep 60
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment