[prev in list] [next in list] [prev in thread] [next in thread]
List: suse-linux-e
Subject: Re: [SLE] My SuSE Linux is very slow sometimes.
From: "Carlos E. R." <robin1.listas () tiscali ! es>
Date: 2003-03-05 13:10:36
[Download RAW message or body]
The 03.03.05 at 05:59, Mitch Thompson wrote:
> The line to change is in file /etc/crontab:
>
> 14 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily
>
> The "14" is the minutes, the "0" is the hour(using a 24 hour clock),
>
> So, on my system, updatedb runs daily, along with all other scripts in
> /etc/cron.daily, at 14 minutes past midnight.
Actually, that only deletes a flag file. The real run will happen up to
15 minutes after booting up linux, if it has not run yet this day. This is
controlled by this line:
-*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1
If you inspect "/usr/lib/cron/run-crons" you will see the lines
responsible for the time choosen to run daily tasks are:
cron.daily) TIME="-ctime +1 -or -ctime 1" ;;
eval find $SPOOL/$BASE $TIME | \
xargs --no-run-if-empty rm
So it is not so easy...
--
Cheers,
Carlos Robinson
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic