[Top][All Lists]

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

Re: Pesky here-document warnings

From: Greg Wooledge
Subject: Re: Pesky here-document warnings
Date: Wed, 17 Nov 2010 08:28:37 -0500
User-agent: Mutt/

On Tue, Nov 16, 2010 at 03:13:13PM -0800, Mun wrote:
> That's just it, I don't have any cron scripts that use here-documents.

at jobs.

> Most of my cron jobs are fairly trivial scripts less than 100 lines long.

Not cron.  (Unless RHEL's cron spits out emails that look like at's?  I've
never seen a job ID number in a cron email.)

> I'm running on a Red Hat Enterprise Linux 5.5 system, and my guess is
> that the system is running something on my behalf.  But I don't know
> what.


    List scheduled jobs:
      at -l [job-id ...]

      at -l -q queue

On Debian:

       atq [-V] [-q queue]

> At first I was able to ignore the messages because I could not detect
> any anomalies.  But now I've reached my threshold where the messages
> (sometimes up to about ten in a day) are starting to annoy me.

Then you should have about 10 intervals per day to find a scheduled job.
(Hint: do it as whoever's receiving the e-mail.)

You could also try to find the place on disk where the at jobs live.
It might be /var/spool/at (RH 5.2) or /var/spool/cron/atjobs (Debian 5.0,
HP-UX 10.20), or somewhere else entirely.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]