As I only want to be informed by cron if an update failed, I want to use something like
'X X * * * updatescript_wich_calls_zypper 1> /dev/null'
as cronjob. Unfortunatelly that doesn't work as zypper gives his output in a way that i don't understand.
Quite obviously stdout doesn't get used because a 'zypper up > /dev/null' still renders output in the shell.
On Mon, 13 Aug 2007, Lars Behrens wrote: try zypper up 2> /dev/null the 2 is for standard error instead of standard output. Did you use exit codes, too? I'm interested in the script, since the one you get from yast - automatic update is a) creating mails for nothing b) not doing a SuSEconfig best regards, Andreas -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org