Files
example-node-project/curlloop.sh
2020-04-16 10:02:11 +02:00

11 lines
122 B
Bash
Executable File

#!/usr/bin/env bash
export APP="$1"
echo "curling URL $APP in a loop..."
while true
do
curl $APP
sleep 2
done