Shell Script to read from a file and update remote server

view story

http://www.unix.com – Its a tough one and would appreciate any guidance for a script that i am trying to develop....Again I do understand its a complicated script and help would be greatly appreciated.... Thank you 1- Need to check for a file (in a certain location on a server) every 15 minute or so if it is there or not ...if it is there then check for two things in that file a) IP address and the status assoicated with that UP b)Status ie pass or fail or suspend If no file then go back to sleep for 15 minutes and then check again for file.. If status fail then locked the arrived file and run sql command (HowTos)