Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29755

Sending mails from a batch file only for the error output

$
0
0

Sending mails from a batch file only for the error output.I have a batch file with the CURL statement for the URLs.I want the URL status should be printed and sending mails for only the error like HTTP/1.1 503 service unavailable.

emails sending not required for the healthy URL and the status is HTTP/1.1 200ok.


Viewing all articles
Browse latest Browse all 29755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>