#system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"ERROR in the Ethiopia EWS ".$jobIDString." ".$failTimeStamp."\" -m \"".$errorString."\n\nError encountered at ".$failTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString.".\n\nAutomatic running of ".$jobIDString." has been suspended.\n\nResolve this error and remove the error file ".$failFilePath." to reenable automatic processing of ".$jobIDString."\"");
system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"ERROR in the Ethiopia EWS ".$jobIDString."".$failTimeStamp."\" -m \"".$errorString."\n\nError encountered at ".$failTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString.".\n\nAutomatic running of ".$jobIDString." has been suspended.\n\nResolve this error and remove the error file ".$failFilePath." to reenable automatic processing of ".$jobIDString."\"");
}
#Log error with error file:
...
...
@@ -69,7 +69,7 @@ sub handleWarning {
#Send email notifications:
foreachmy$maintainer(@maintainers){
#system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"WARNING in the Ethiopia EWS ".$jobIDString." ".$warningTimeStamp."\" -m \"".$warningString."\n\nWarning encountered at ".$warningTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString."\"");
system("/storage/app/servermail/servermail/servermail.sh -r ".$maintainer." -s \"WARNING in the Ethiopia EWS ".$jobIDString."".$warningTimeStamp."\" -m \"".$warningString."\n\nWarning encountered at ".$warningTimeStamp." during running of ".$jobIDString." initiated at ".$debugTimeString."\"");