Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Need shell script urgently

$
0
0
As i am begnieer to Shell script plesae help me in a shell script which will perform below tasks step by step:
The script should connect to my database in which files are continuesly coming from my client side.
Based upon refrernce data validation ,the files get rejected,Processed and Processed_with_errors.
The script should continously check the Current_status(Rejected,Processed and processed_with_errors) column of my database table.
If the files is with status Processed then no Issues,but if file gets Rejected or Processed with more then 15% rejections of records(ie, Cuurent_status='Processed_with_errors').
Then the script should generate ALERT mail to me immedialtly.

Viewing all articles
Browse latest Browse all 13329

Trending Articles