Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 09:28:04 -0700
From:      "Trevin Chow" <trevin@mail.com>
To:        "'James Housley'" <jim@thehousleys.net>
Cc:        <questions@freebsd.org>
Subject:   RE: logging of /usr/libexec/atrun
Message-ID:  <BCCBC5E8BA377141B125D2C5F91ABA5B02A69E47@red-msg-07.redmond.corp.microsoft.com>
In-Reply-To: <3B321EE1.8BC71E1D@thehousleys.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
>>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

This doesn't work too well since the cron logs are getting archived in
cron.0.gz, cron.1.gz, etc after a certain size I'm guessing? So I have
to unzip each of the cron logs to find what I want... or is there a
better way?


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?BCCBC5E8BA377141B125D2C5F91ABA5B02A69E47>