cron job

Derek Broughton news at pointerstop.ca
Tue Dec 2 15:28:10 UTC 2008


OOzy Pal wrote:

> Hello,
> 
> I need to move big files from one remote server to other remote
> server. I think I can do this by cron jobs. The urls for the backup
> data is for example
> 
> www.xyz.com/file1.tar.
> www.xyz.com/file2.tar
> 
> I do
> 
> wget  -c -t 999 www.xyz.com/file1.tar
> wget  -c -t 999 www.xyz.com/file2.tar
> 
> How can I make a cron job to automatically move these files between
> the two servers.

wtp?  Just add those commands to an appropriate crontab.  You probably 
want to add the options to reduce output and put the data into a specific 
directory, but you've essentially got everything you need.
-- 
derek





More information about the ubuntu-users mailing list