Databases
cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the files from FTP server and run every 30 mins if no file is found

Suman_7
Frequent Advisor

how to get the files from FTP server and run every 30 mins if no file is found

I need to get the file name from database and pass that as a parameter to UNIX Shell. This will take this parameter and log on to a remote ftp server and try to grep that file. If no file is found. The script has to go again and after 30 mins and run till 11:45 AM.

Can someone send me a sample code for the same.

Thank You very much in advance.


Suman
1 REPLY
Steve Steel
Honored Contributor

Re: how to get the files from FTP server and run every 30 mins if no file is found

Hi

Look at

http://www.shelldorado.com/

http://www.arde.com/Papers/UnixScript/

shelldorado will certainly help


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)