Yum update Service help

Stephan Matthiesen stephan.matthiesen at gmx.de
Wed Jun 23 17:18:14 UTC 2004


Hi,

Am Mittwoch, 23. Juni 2004 15:58 schrieb Colin J Thomson:
> Since I setup this to run and when my cron.daily runs the Yum auto update
> does not work am I missing something here, perhaps another config file that
> needs changing.

Am Mittwoch, 23. Juni 2004 17:29 schrieb James Kosin:
> ~  The problem is everything in cron.daily gets run at 4:00am always.  To
> get it to run at a different time, you need to use the Task Scheduler to
> add an entry for root to run '/etc/cron.daily/yum.cron' at the
> appropriate time(s) you want.  Or you can use 'crontab -u root' to edit
> by hand and add an entry.  I prefer the Task Scheduler approach.

I was under the impression that anacron is activated as default, and this 
should start the job regularly every day even if the computer is not on at 
4am. On my computer it does seem to do it, but unlike cron it does not send 
an e-mail to confirm it. 

Perhaps check the following:
1. Is the anacron service running?

2. Does you /etc/anacrontab contain something like
1       65      cron.daily              run-parts /etc/cron.daily
7       70      cron.weekly             run-parts /etc/cron.weekly
30      75      cron.monthly            run-parts /etc/cron.monthly

3. Look in /var/log/cron for entries with "Anacron". I get lines like:

Jun 23 08:08:49 Godzilla-PC anacron[1766]: Anacron 2.3 started on 2004-06-23
Jun 23 08:08:49 Godzilla-PC anacron[1766]: Will run job `cron.daily' in 65 
min.
Jun 23 08:08:49 Godzilla-PC anacron[1766]: Jobs will be executed sequentially
...
Jun 23 09:13:51 Godzilla-PC anacron[1766]: Job `cron.daily' started
Jun 23 09:14:28 Godzilla-PC anacron[3180]: Updated timestamp for job 
`cron.daily' to 2004-06-23

4. What does /var/log/yum.log tell you? Are there recent updates, that you 
haven't done manually?

Hope this helps...

Cheers
Stephan





More information about the fedora-list mailing list