> There really ought to be a --nocolor option for emerge, alongside the
> --nospinner option. (I know I could add it to FEATURES in make.conf but I
> dont want to do that). I run emerge --sync from cron on my servers - the
> email from cron contains a lot of control codes.

Here's how I accomplish that from cron:

emerge --pretend --update --deep world 1>/var/log/update.report

echo "Report generated, mailing to root."
echo ""
strings /var/log/update.report > /var/log/update.rpt.txt
mail -s "Server Portage Update Report" root < /var/log/update.rpt.txt
/bin/rm -f /var/log/update.rpt.txt



--
gentoo-user@gentoo.org mailing list

Reply via email to