
Am Monday 13 August 2007 18:00 schrieben Sie:
try zypper up 2> /dev/null the 2 is for standard error instead of standard output.
Normally that would be the opposite of what I want, as it would kill the error messages, which I want to receive from cron. But after a bit of tinkering, it seems to me that zypper uses stderr for both stderr *and* stdout. So I have to find a different way to inform me about failed upgrades.
Did you use exit codes, too?
No, but it seems that I have to :-)
I'm interested in the script,
I can post it when it's ready.
since the one you get from yast - automatic update is a) creating mails for nothing
Like zypper? :-)
b) not doing a SuSEconfig
Hmm, never thought of that. Does zypper? Is there a logfile for SuSEconfig? Maybe I should call SuSEconfig from the script... Cheerz Lars -- Universität Karlsruhe (TH) Physikalisches Institut 0721/608-3448 lars.behrens@physik-uni-karlsruhe.de -- To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-softwaremgmt+help@opensuse.org