This is the cron entry I have to do essentially the same thing:
0 2 * * * rpm --force -U -v http://www.slimdevices.com/downloads/
nightly/SlimServer_v`date +\%Y-\%m-\%d`/slimserver-`date +\%Y_\%m_\%
d`-1.noarch.rpm
And I get a nice email every morning telling me if it happened. :)
On Oct 2, 2005, at 11:34 PM, chris wrote:
Here's one that does the same with the RPM version:
Code:
--------------------
#!/bin/sh
Filename="slimserver-20$(date +%y)_$(date +%m)_$(date +%
d)-1.noarch.rpm"
cd /root/scripts
rm -f *.rpm
wget -Y off -C off -q http://www.slimdevices.com/downloads/
nightly/latest/6.2/
$Filename
rpm -U $Filename
chmod -R ugo+w /usr/local/slimserver/
--------------------
--
chris
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta