Advertisement
Advertisement
| 03.06.2008 at 12:04AM PST, ID: 23218748 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: |
NUMBER="1"
SERVERNAME=`uname -n`
FILENAME=`ls -l /tmp/filename.?????? | awk '{print $8}'`
LOG_DIR='path to file.log'
strexception=java.lan.outofmeoryerror
if $FILENAME exist then
check if there the exception
if true then invoke sendmail
else
do nothing
end
SOME IDEA
|