[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

yam verbosity



I use yam to keep a local fedora-update repository
by running "yam -u" as a nightly cron job (see below).
I can then run "yum update" on the machines on my home LAN.

All this works perfectly - thank you, Messrs yum and yam -
so what I am asking is really sugar on the plum-pudding.

I find the log entries for yam are a little sparse.
On the other hand, if I say "yam - v" they are excessively verbose.
It would be nice if there was a medium
which just recorded the rpm's which were downloaded.

,----[ /etc/cron.daily/yam.cron ]
| #!/bin/bash
| # Populate fedora-update repository
| /bin/date >> /var/log/yam.log
| /usr/bin/yam -u >> /var/log/yam.log
| /usr/bin/createrepo -q /var/yam/fc3-i386/updates >> /var/log/yam.log
| exit 0
`----

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]