Previously, Douglas J. Hunley wrote:
> On Thursday 06 September 2001 21:41, Tim Wunder babbled:
> > So he asked me if it could be done and how. I told him that I'm sure it
> > could be done, but I don't know how. SO the task at hand is to downoad
> > the latest mozilla nightly and untar it to a local folder autmatically
> > every night. Any scripting gurus out there wanna share their expertise
> > with a budding 13-year old linux geek?
>
> untested.. but
>
> --- cut here ---
> #!/bin/sh
>
> cd /opt
> wget
> http://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-i686-pc-linux-gnu
>-sea.tar.gz && tar zxvf mozilla-i686-pc-linux-gnu-sea.tar.gz && rm
> mozilla-i686-pc-linux-gnu-sea.tar.gz
>
> exit $?
>
> --- end cut ---
>
> (that's all one line after the 'cd' abd before the 'exit'... stupid
> wordwrap)

Beautiful, Doug. You can consider it tested, although we changed it to 
download to his home directory (cd /home/eric/Mozilla-nightlies) and changed 
the filename (mozilla-i686-pc-linux-gnu.tar.gz). We also set it up in his 
crontab file to run every night at 1:00 am. He's re-installing the Sept 5 
nightly now so when he gets up, he can determine whether the cron job worked. 
(I might just have to set one up for me, too...). 

BTW, he's bookmarked linux.nf and he may be joining the list.

Thanks, 
Tim
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to