Hi,<br><br> 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.<br><br>Regarding cron jobs, there are two approaces. You can put the job into a user's crontab, or into systemwide crontabs.<br>
<br>You can accomplish the first this way:<br><br>$ crontab -e<br><br>and then edit your crontab, inserting your command with the desired periodicity.<br><br>Otherwise, you can create your crontab line in a file - say 'mysync' - and put it into:<br>
<br>/etc/cron.d/<br><br>For crontab job syntax, see man 5 crontab.<br><br><br>I guess the less invasive way is the first one, perhaps it is best to use the second one only for system-wide activities.<br><br><div class="gmail_quote">
2008/12/2 OOzy Pal <span dir="ltr"><<a href="mailto:oozypal@gmail.com">oozypal@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
I need to move big files from one remote server to other remote<br>
server. I think I can do this by cron jobs. The urls for the backup<br>
data is for example<br>
<br>
<a href="http://www.xyz.com/file1.tar" target="_blank">www.xyz.com/file1.tar</a>.<br>
<a href="http://www.xyz.com/file2.tar" target="_blank">www.xyz.com/file2.tar</a><br>
<br>
I do<br>
<br>
wget  -c -t 999 <a href="http://www.xyz.com/file1.tar" target="_blank">www.xyz.com/file1.tar</a><br>
wget  -c -t 999 <a href="http://www.xyz.com/file2.tar" target="_blank">www.xyz.com/file2.tar</a><br>
<br>
How can I make a cron job to automatically move these files between<br>
the two servers.<br>
<br>
<br>
<br>
<br>
--<br>
OOzy<br>
Ubuntu-Hardy (7.10)<br>
<font color="#888888"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br>