https://crontab-generator.org/
https://serverfault.com/questions/282215/script-to-automatically-test-if-a-web-site-is-available
Test simple script
if curl -s --head --request GET https://swcorp.com | grep "200 OK" > /dev/null; then
echo "swcorp.com is UP"
else
echo "swcorp.com is DOWN"
fi