My suggestion was to Dean.  I agree with you that there should be a link
to the latest version on the server, allowing you run a fixed command.

A cron job is a task that is scheduled to run at a particular time. 
See "man cron" and "man crontab".  Dean's entry is:

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

This means, "at 2am every day, run rpm with the followings args". 
You'd set this up by changing to the user that you want the job to run
as and typing "crontab -e".

The `date ...` bits mean run the date command with the specified args
and insert the result into the string.  See "man date" for details, but
it's basically generating a string that looks like
http://www.slimdevices.com/downloads/nightly/SlimServer_v2005-11-20/slimserver-2005_11_20-1.noarch.rpm.
This is horrible, and shouldn't be necessary!

Max

andrewmulcock Wrote: 
> What is a cron job ?
> 
> What is all that "date +\%Y-\%m-\%d`/ "
> 
> I'm sorry, Im a real Linux novice, Ok i have had to learn a lot to get
> this slimserver working, so great all for learnign.
> 
> but can we not just make things easy.
> 
> It's hard enough to find out to type rpm -u what ever, let alone a line
> that changes with each release. 
> 
> I'm all for making things easier and safer for the novice, keep what we
> already have, great, but lets encourage people to use this.


-- 
max.spicer

The wild things roared their terrible roars and gnashed their terrible
teeth
and rolled their terrible eyes and showed their terrible claws
but Max stepped into his private boat and waved good-bye
------------------------------------------------------------------------
max.spicer's Profile: http://forums.slimdevices.com/member.php?userid=23
View this thread: http://forums.slimdevices.com/showthread.php?t=18348

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to