I need to have a process (mailx alert) scheduled frequnetly
My requirement is to grep a specific file for a specific word.
If the word is found send me an alert.
However if the word was also found the previous run do not send the mail(kind of reset mechanism for the alert)
My main idea is above however not completed.
Can you please provide sample code?
i have two csv files (rates.csv, reference.csv) as below.
rates.csv contains Code, respective Zone details
rates.csv
----------
23,38Nhava
45,37NEWYORK
89,SHILANG
71,ROBACCA
reference.csv contains all Zone details
reference.csv
-------------
37Newyork
robacca
38Nhava... (5 Replies)
Please help me to write the following script.
1) Input files will be in Test directory. (Test/YYYY/MM) folders (Ex: 1) 2010/ 01 2) 2011/05)
The file name will be Testfile1_6676543218_Axxxxxxyyyyyzzzzzzzzzzzzzzzzzz.pdf.gz
2) The compare file will be in /tmp directory. (/tmp/comparefile.txt). The... (6 Replies)