discourse/config/cloud/cloud66/scripts/curl.sh

11 lines
142 B
Bash

#!/bin/bash
FILE=/tmp/curl_done
if [ -f $FILE ]
then
echo "File $FILE exists..."
else
curl --retry 5 localhost
touch /tmp/curl_done
fi