Solved

apcheckall and sendmail

Posted on 1997-12-16
3
290 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

695 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