running process that sends email when returns 0
I need a litle help, im trying to something like this:
a file or a process that is always running and pinging for example google.com.
returning 1 or 0, when returns 0 (that means have no response) do something else.
i already made the something else, basicly sends an email etc.
Can someone help me on this please ?