PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

PSMAIL - bash script

edited May 18, 2017 1:47AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered

Hi everyone!

I've made a bash script to monitor the system. When one domain is down, or the storage reaches dangerous levels, the script sends a mail to me, so I can do something.

So far, so good... I'm using psmail to send those notifications. The situation is that when I execute the script manually (sh script.sh or ./script.sh), everything is perfect, the mail is sent. But if the script is executed through cron, the psmail doesn´t send anything. I'm running in Solaris 11.

Do anyone have any idea?

Thanks a lot!

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center