On Tue, Mar 15, 2005 at 10:17:32PM +0000, Alistair Bell wrote: > Apologies if this is something stupid/trivial but I could do with a > quick point in the right direction. > My syslog is full of anacron normal exit 0 jobs run type lines at few > second to couple of minute intervals. I'm presuming something is up, > should it be running that frequently just log settings are wrong or is > something running anacron that shouldn't be? I've tried reinstalling and > poked around quite a bit but can't see anything wrong. It shouldn't run that often. Once a day should be enough as far as I know. You could grep for references of anacron in /etc and see if you find any weirdness. The most important ones would be /etc/crontab and /etc/cron.d/anacron. For reference, here are those two files as they appear on my system: $ cat /etc/cron.d/anacron # /etc/cron.d/anacron: crontab entries for the anacron package SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 30 7 * * * root test -x /etc/init.d/anacron && /usr/sbin/invoke-rc.d anacron start >/dev/null $ cat /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' # command to install the new version when you edit this file. # This file also has a username field, that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command 17 * * * * root run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily 47 6 * * 7 root test -x /usr/sbin/anacron || run-parts --report /etc/cron.weekly 52 6 1 * * root test -x /usr/sbin/anacron || run-parts --report /etc/cron.monthly # -- Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] Public GnuPG key: keyserver.net ID 0x1735C5C2 "Let your advance worrying become advance thinking and planning." - Winston Churchill
Attachment:
signature.asc
Description: Digital signature