I am trying to write a script that will look at a log file. There is a line in the file called TOTAL_TIME= . I would like to send an email if TOTAL_TIME is greater than 50000
Below is a sample of what the file looks like.
For some reason the logic will only work up to 9999 If I try 50000 it seem to work.. Is this limited to 4 digits? Here is my script. If I change the gt 50000 to 5000 it works. The value in the log file is TOTAL_TIME=7640