Solved

apcheckall and sendmail

Posted on 1997-12-16
3
288 Views
Last Modified: 2010-10-05
On an NCR 3500 apcheckall runs from root cron to test a RAID. I wish to stop apcheckall from reporting via sendmail. No man page on apcheckall can be found
0
Comment
Question by:PTremethick
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
malec earned 100 total points
ID: 2008380
Open cron file, find line with redirection to sendmail and remove that redirection. Resave the file and restart cron.d with:

 crontab  -r
 crontab <cron_file>

hope this helps
0
 

Author Comment

by:PTremethick
ID: 2008381
Thanks for your reply, however the cron entry for apcheckall contains no reference to sendmail, the entry is as follows :-
/bin/su root -c "/sbin/apcheckall -y 2> /dev/null"

Possibly the "-y" argument may have an effect on reporting but, as I said before, there is no man entry for apcheckall.
regards
Phil Tremethick
0
 
LVL 1

Expert Comment

by:malec
ID: 2008382
I don't have man entry for that command as well (SGI box). Why don't you try how it works without -y option? Just run that line as root and see what happens.

Regards,

Dimitri Ostapenko
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question