I have a periodic that runs every 15 minutes. I have 5 scripts in the
directory that it processes. Most of the time, the 5 scripts don't have to
do anything, and thus don't have any output. When that happens, periodic
outputs 'No output from the 5 files processed'.
Is there a way to make
In the last episode (Jul 08), Elliot Finley said:
I have a periodic that runs every 15 minutes. I have 5 scripts in
the directory that it processes. Most of the time, the 5 scripts
don't have to do anything, and thus don't have any output. When that
happens, periodic outputs 'No output from
9:31 AM
Subject: Re: No output from periodic
In the last episode (Jul 08), Elliot Finley said:
I have a periodic that runs every 15 minutes. I have 5 scripts in
the directory that it processes. Most of the time, the 5 scripts
don't have to do anything, and thus don't have any output
: Tuesday, July 08, 2003 9:31 AM
Subject: Re: No output from periodic
In the last episode (Jul 08), Elliot Finley said:
I have a periodic that runs every 15 minutes. I have 5 scripts in
the directory that it processes. Most of the time, the 5 scripts
don't have to do anything, and thus don't
]
To: Elliot Finley [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 9:57 AM
Subject: Re: No output from periodic
What you are seeing is an error condition...
You should be able to put a redirect into crontab...
Here's an example of one of my entries...
It runs every 5 minutes
On Tue, Jul 08, 2003 at 10:09:24AM -0600, Elliot Finley wrote:
I really appreciate all the comments, but this isn't quite what I'm after.
I _want_ cron to email me when there _is_ output.
But I _don't want_ an email when there _isn't_ output.
But it _is_ output - look for processed in
in message [EMAIL PROTECTED], wrote
Elliot Finley thusly...
I _want_ cron to email me when there _is_ output. But I _don't
want_ an email when there _isn't_ output.
Anyone know how to accomplish this?
In three (easy) steps...
- Create a wrapper to be invoked by cron
- In wrapper...