Silviu Marin-Caea wrote:
# download patches yast2 online_update .auto.get
# install downloaded patches yast2 online_update .auto.install
I just saw that this does not work on SuSE 8.1 (it does on SuSE 8.0). The two lines of this script give this error, when run from cron.daily (I copied autoupdate to /etc/cron.hourly, to test it). Message 2: From root@silviu.genesys.ro Tue Apr 8 11:00:02 2003 Delivered-To: silviu@silviu.genesys.ro To: root@silviu.genesys.ro Subject: cronjob@silviu - hourly - OK Date: Tue, 8 Apr 2003 11:00:02 +0300 (EEST) From: root@silviu.genesys.ro (root) running hourly cronjob scripts SCRIPT: autoupdate, OK. SCRIPT: ouput (stdout && stderr) follows Error opening terminal: unknown. Error opening terminal: unknown. SCRIPT: autoupdate ------- END OF OUTPUT I don't need it to open any terminal. Anyway, I think it works by adding export TERM=linux (default is "dumb") before yast2 online_update .auto.get -- Linux/Unix Systems Engineer http://www.genesys.ro Phone +40723-267961