3 ms·
If this is a Unix-like environment, have you thought about running a cron job that runs your script and decides to send a message based on the results?
by bramgn 10y ago
If this is a Unix-like environment, have you thought about running a cron job that runs your script and decides to send a message based on the results?
- jjeaff 10y agoYes, I have. But I think the job never running at all is the problem I am trying to avoid. If the cron didn't fire or if the entire command just failed, or if maybe the server was offline when the cron was supposed to fire, a check after the job is finished would never happen.