Operating System - HP-UX
1753425 Members
4957 Online
108793 Solutions
New Discussion

Re: repeated message from cron (pruneIncidents.sh)

 
Yaroki
Super Advisor

repeated message from corn

Hello,

Each 7 days I receive a message that accumulates to the /var/mail/root folder.

I attached the screenshot.

1. What is the meaning of this message?

2. Can I delete all the last messages from /var/mail/root (~250 messages)?

3. Can I stop the process?

BR,

Yali

 

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: repeated message from corn

1) There is not much to the message.  It is apparently not producing any useful output.  One would have to look at the script, or run the script interactively and see what it is doing.

 

2) Yes, you can delete all the mail messages if you like.

 

3) I am not familiar with that process.  Do you have some sort of remote support from HP?  The "cron" job can easily be commented out.  What other side effect that will have I do not know.

Dennis Handly
Acclaimed Contributor

Re: repeated message from cron (pruneIncidents.sh)

>1. What is the meaning of this message?

 

That pruneIncidents.sh is sloppy and doesn't suppress blank lines.  ;-)

 

>2. Can I delete all the last messages from /var/mail/root (~250 messages)?

 

At least all of the ones with empty cron messages like the one you showed.

 

>3. Can I stop the process?

 

As Patrick said, if you can fix the pruneIncidents.sh script, there should be no messages.

Perhaps appending the cron output to a logfile and you can monitor that.