Shell Script to Validate and alert if EBS Oracle Apps URL is working or not We can use the below script to validate the URL for EBS is working or not and send a mail. Please check URL and recipient mail id as required. Script: #!/bin/bash # URL to check URL="https://funebstraining.com/OA_HTML/AppsLocalLogin.jsp" # Email details TO="recipient@example.com" SUBJECT="URL Check Alert" MESSAGE="The URL $URL is not responding." # Function to check URL status check_url() { STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$URL") if [ "$STATUS" -ne 200 ]; then send_email fi } # Function to send email send_email() { echo "$MESSAGE" | mail -s "$SUBJECT" "$TO" } # Run the check check_url Please do like and subscribe to my youtube channel: https://www.youtube.com/@foalabs If you like this post please follow,share and comment