Changes between Version 3 and Version 4 of ErrorCodeCheck


Ignore:
Timestamp:
07/10/13 10:05:23 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ErrorCodeCheck

    v3 v4  
    7070  # check for a email address  
    7171  if [[ $EMAIL ]]; then 
    72     # we were supplied with a email address so send the results by email using mutt 
    7372    # name of the server 
    7473    HOSTNAME=$(hostname) 
    7574    # email subject line 
    7675    SUBJECT="$ERRORS_403 403, $ERRORS_404 404, $ERRORS_502 502, $ERRORS_503 503 and $ERRORS_504 504 errors from $HOSTNAME" 
     76    # we were supplied with a email address so send the results by email using mutt 
    7777    echo "$ERRORS" | mutt -s "$SUBJECT" $EMAIL 
    7878  # we don't have a email address so display the results of the grep