#!/bin/bash if [[ ! -z "${LOOP}"]]; then while : do curl "$@" sleep "${LOOP}" done else curl "$@" fi