I am new to the shell scripts. I just want to know automated cronjob script to download all the ftp files. Now, I am downloading manually approx 600 MB. From now onwards I have the download the files on Every saturday. Please let me know the easiest sollution.

Thanks & Regards,

G.Gopi Krishna.

link|improve this question

0% accept rate
feedback

2 Answers

You can do a wget every sunday. With the login and the FTP password on the line, the download starts automatically. You can do a mirror to download only the differences, and do a tar or what you want after the download.

Make a small script, and ask cron to launch it every sunday.

link|improve this answer
Or Saturday, as in the OP's question. – Dennis Williamson Jul 5 '10 at 9:41
Oops, I was tired, I have an error on the day. thanks ! – Dom Jul 5 '10 at 13:20
feedback

You already have it: use cron.

0 0 * * 6 download_file.sh
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.