The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-21-2008
Raamc Raamc is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 31
Running a script in INFINITE LOOP

Hi All,

I have a requirement as below.

I supposed to get a file from Source system once in a month. But we dont know when the source system will send the file. My script has to wait for that file in LOOP once it gets the file then it has to FTP the file.

I thought of scheduling the job once in a daily but "My requirement is to get the file ASAP else it will expire from the source system"

So can any one suggest me the best solution for this?

Thanks in Advance,

Raamc.