-= Eredeti üzenet (Original message) =-
Dátum (Date): Thu, 03 Feb 2005 13:49:46 -0500
Küldő (From): Nick Smith <[EMAIL PROTECTED]>
Címzett (To): Gentoo List <[EMAIL PROTECTED]>
Tárgy (Subject): Re: [gentoo-user] E-Mailing the result of emerge -upv world
> On Tue, 2005-02-01 at 11:03 +0100, Botykai Zsolt wrote:
> > > I was looking for a script that will sync the portage tree and send by
> > > email the list of softwares that to be updated automatically. I did not
> > > find so during the last weekend and borrowed some codes from few sites
> > > on the Internet and build it.
> > <snipped_code>>
> >
> > I'm usin something foud someshere on the forums or [EMAIL PROTECTED]
> > earlier:
> > crontab entry:
> > 45 23 * * 1-6 /root/bin/ESEF.sh
> >
> > /root/bin/ESEF.sh
> > #!/bin/bash
> > #update from script
> > function emerge_sync {
> > emerge sync -q --nospinner &> /dev/null && echo "Portage Tree synced."
> > emerge -upDv --nospinner --newuse world | sed -e
> > "s|dependencies.*\.\.\.|depend encies \.\.\.|g"
> > sleep 15s
> > emerge --nospinner --newuse -uDf world &> /dev/null && echo "Packages
> > mostly
> > do wnloaded."
> > /usr/sbin/eupdatedb.cron &> /dev/null && echo "Eupdatedb finished."
> > echo "Done!"
> > }
> >
> > senddate=$(date +"%Y-%m-%d %T")
> > echo "Nightly Sync ($senddate)" > /root/nstemp
> > emerge_sync >> /root/nstemp
> > cat /root/nstemp | nail -s "ESEF.log" [EMAIL PROTECTED]
> > rm /root/nstemp
> >
> will that actually do the emerge or just show you the packages that need
> to be upgraded?
-= Eredeti üzenet vége (End of original message) =-
it will - hopefully sync, then download the upgradeable packages.
Zsoltik@
--------------------------------------------------------------------------
Opinions, conclusions and other information in this message that do not
relate to the official business of Online Business Technologies Corp.
shall be understood as neither given nor endorsed by it. In such cases
Online Business Technologies Corp. will not bear the responsibility of
consequences.
If you have received this communication in error, please notify the
system manager immediately by responding to this email and then delete
it from your system.
A levelben foglalt, nem az Online Rt. hivatalos uzletmenetevel kapcsolatos
velemenyek vagy mas informaciok vonatkozasaban az Online Rt. nem vallal
felelosseget.
Amennyiben a level valamely hiba folytan jutott Onhoz, kerjuk, hogy
valaszlevelben azonnal ertesitse a rendszer uzemeltetojet, majd torolje ki
a levelet rendszerebol!
--
[email protected] mailing list