1#! /bin/bash2# Script to check the Vicroads website and alert me when bookings for3# license testing are open again.45recipient="andrew@lorimer.id.au"6url="https://www.vicroads.vic.gov.au"7phrase="No new appointments are available at this time"89if ! curl -l "$url" | grep "$phrase"; then10echo -e "VicRoads appointments may be available" | mail -a "Importance: High" -a "Content-Type: text/plain; charset=UTF-8" -s "VicRoads Booking Check" $recipient11fi