stefano.doni at gmail.com
Tue Dec 2 15:24:15 UTC 2008
first of all you might want to try rsync instead of wget, it has some cool
algorithms to save bandwith, provided that you have to transfer files that
are modified often.
Regarding cron jobs, there are two approaces. You can put the job into a
user's crontab, or into systemwide crontabs.
You can accomplish the first this way:
$ crontab -e
and then edit your crontab, inserting your command with the desired
Otherwise, you can create your crontab line in a file - say 'mysync' - and
put it into:
For crontab job syntax, see man 5 crontab.
I guess the less invasive way is the first one, perhaps it is best to use
the second one only for system-wide activities.
2008/12/2 OOzy Pal <oozypal at gmail.com>
> 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
> 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.
> Ubuntu-Hardy (7.10)
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users