Solved

apcheckall and sendmail

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSH commands for Nas4free 21 462
what is a good general partitioning scheme for RHEL? 23 134
LastLogonTimeStamp Attribute 7 49
Linux :how to provide sudo access to the user 13 106
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

828 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