Solved

apcheckall and sendmail

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now