Skip to content

Instantly share code, notes, and snippets.

@hidakatsuya
Last active April 14, 2024 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hidakatsuya/1d7e8d87bd1d0f6788c8c6226e4f6e21 to your computer and use it in GitHub Desktop.
Save hidakatsuya/1d7e8d87bd1d0f6788c8c6226e4f6e21 to your computer and use it in GitHub Desktop.
A script that accesses a URL every second
url=http://<url>
while true; do TZ=JST-9 date; curl $url; sleep 1s; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment