Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
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)