LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mail script doesn't run (https://www.linuxquestions.org/questions/linux-software-2/mail-script-doesnt-run-104296/)

wedgeworth 10-15-2003 01:02 PM

mail script doesn't run
 
is there any reason why this script will not run. it runs on one of my servers, but not on the others. this is very confusing. here is the scirpt:

//*************************

#!/bin/sh

/bin/mail -s hi.works.report me@yahoo.com << "From: fil
e_compare
To: me@bob.com
Subject: Files are Equal
backup.$HOSTNAME.$DATE.tar at size $SIZE\n"

//*************************

any help would be appreciated. and yes i did check /bin/mail and it looks the same on both servers but only seems to be working on one.


All times are GMT -5. The time now is 02:30 PM.