Last active
March 22, 2018 07:05
-
-
Save harisrozak/e88650bfd1de0c2901f61ac5ba2a0dae to your computer and use it in GitHub Desktop.
Loop command on linux with bash file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
while [ "true" ]; do | |
# Do looping. | |
echo "-----------------------------" | |
date -u | |
echo "doing wget.." | |
wget --no-check-certificate -q -O - http://example.com >/dev/null 2>&1 | |
echo "done, sleeping for a minute" | |
sleep 60 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment