

Thanks for the explanation. Wew, there are lots of stuff that I have to learn.tln wrote:The purpose of having a cron daemon is so that you can do tasks at specific times. Lets say you want to emerge sync every day, then you'll just add a crontab entry that'll do that.
Code: Select all
MAILTO=Me
# Monthly
0 12 5,10,20 * * /usr/sbin/logrotate --verbose /etc/logrotate.conf
# Frequent
4 3 * * * /etc/init.d/portsentry stop
5 3 * * * /usr/sbin/chkrootkit
7 3 * * * /etc/init.d/portsentry start
15 3 * * * /usr/bin/emerge rsync >/dev/null 2>&1
30 3 * * * /usr/bin/emerge -up system
35 3 * * * /usr/sbin/fixpackages >/dev/null 2>&1
45 3 * * * /usr/bin/updatedb 1>/dev/null 2>&1
# Often
#0 * * * * /usr/bin/rdate -s time.nist.gov



not exactly, since this way I can see which updates are part of system and which aren't - I keep everything in system more up to date than everything else, but still like to keep an eye on world for any specific updates I've been waiting for.dsegel wrote:'world' encompasses 'system' as well as other stuff you've emerged, so this is redundant.adammc wrote:I use vixie-cron too - emerge sync at mid-day, emerge -uDpv world at 12.30 and emerge -uDpv system at 12.35; very useful for keeping an eye on what needs updating without actually doing anything.