I would like to create Linux shell script which reads a log file.
for eg. I have log file with lines:
Job: One(106) started.
Job: Two(107) started.
Job: Name(111) started.
Job: EXE(112) started.
Job: SMTG(117) started.
...........
.....
...
I want to make script which checks all jobs and sends email if job status is not started. Job status could be error, locked, stopped and everything else. I don't know how to write script to check exactly if status is not started.