How to Set Up GCP Monitoring and Alerting for a Script Running on a Linux Machine?
I have a script running on a Linux machine that triggers a JAR file to run. I need to monitor this script using Google Cloud Platform (GCP) and receive an email alert if the script stops working. What are the All detailed steps to achieve this, both in the script and in GCP?