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

Re: [cobalt-users] Cron.daily query AGAIN



On Sun, 24 Aug 2003, David Lucas wrote:

> in the /etc directory, check the file crontab, it tell the different things
> when to run

Like:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1

And then you need to look in each directory to see what's
there(they are the things that will run).

So, to see the daily stuff
cd /etc/cron.daily
and we see

-rwxr-xr-x    1 root     root           51 Apr 25  2000 logrotate
-rwxr-xr-x    1 root     root          402 Jul 27  2000 makewhatis.cron
-rwxr-xr-x    1 root     root          102 Feb  3  2000 slocate.cron
-rwxr-xr-x    1 root     root          226 May 23 02:04 tmpwatch
-rwxr-xr-x    1 root     root          221 Oct  5  2000 tmpwatch.orig
-rwxr-xr-x    1 root     root         2122 May 23 02:17 webalizer.pl
-rwx------    1 root     root          331 Jun 11 21:21 ntpdate.auto

So...you can change the execute time for each cron directory, and
add/delete items in the directory.

Since there is no warranty, you can always ask here (g).

Thom
-- 
baltimoremd@xxxxxxxxxxxxxxx             Thom LaCosta K3HRN
http://www.cobaltfacts.com/  Cobalt Users Supporting Cobalts
CobaltFacts - The Other Blue List
Sun won't do it, we need to do our own wash
CobaltFacts Web Ring www.baltimoremd.com/cobaltfacts/