Slightly off topic, but I hope I can be forgiven :)

I have test server (actually a VM) running ubuntu 8.10 and the 7.4
nightly. I set up a cron job to download the nightly every day and
install it - so far so good. The problem is, although the cron job runs
(the file gets downloaded) and there are no errors in any logs anywhere
I can find, the actual install doesn't happen. If I run the script
manually from the command line (as root) it works just fine. Any clues
from the linux experts?


Code:
--------------------
    
  r...@mrspuff:~# more /etc/cron.daily/updatesc
  #!/bin/sh
  
  install -d /tmp/sc
  rm /tmp/sc/*
  
  wget -r -l 1 --accept=squeezecenter*.deb -nd -e robots=off -P /tmp/sc 
http://downloads.slimdevices.com/nightly/?ver=7.4/
  
  find /tmp/sc -name *.deb | xargs -L1 -I {} dpkg --install {}
  
--------------------


-- 
radish
------------------------------------------------------------------------
radish's Profile: http://forums.slimdevices.com/member.php?userid=77
View this thread: http://forums.slimdevices.com/showthread.php?t=60577

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to