Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 12:20:49 -0400
From:      James Housley <jim@thehousleys.net>
To:        Trevin Chow <tmchow@sfu.ca>
Cc:        questions@freebsd.org
Subject:   Re: logging of /usr/libexec/atrun
Message-ID:  <3B321EE1.8BC71E1D@thehousleys.net>
References:  <20010621091236.T3177-100000@benny.geektank.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Trevin Chow wrote:
> 
> I tried looking at my cron logs today (/var/log/cron) to see why some of
> my cron jobs aren't executing.  However, I'm finding my cron logs pretty
> useless since the root's cronjob of "/usr/libexec/atrun" is running every
> 5 mins on my system.  Thsu an entry is made into /var/log/cron every 5
> mins whcih fill up my logs and I'm not able to easily find entries for
> other jobs.  Is there a way to stop the logging of thisjob?
> 

Instead just filter out the atrun lines.

grep -v atrun /var/log/cron | more

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
"...there's no idea that's so good you can't 
    ruin it with a few well-placed idiots." 
    -- Charles Spickman

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B321EE1.8BC71E1D>