i am just getting the output of three scrips separately meaning individual scripts are ruuning but not getting the output in one mail as below.
OUTPUT should be as below:
report1 details
The total no of difference in previous day report and current day report is 0 records
========================================================================================================================================"
report2 details:
The total no of difference in previous day report and current day report is 1 records
========================================================================================================================================"
report3 details:
The total no of difference in previous day report and current day report is 1 records
using home/home1/1.sh >> $OFILE is also not working..
I am getting completely blank mail with subject line Verification.
Not even echo is working..
As soon as i run the script i get three emails giving the output of 3 script because i have use mail command in those scripts also and 4th mail gwenerated blank email with subject line only.
---------- Post updated at 03:50 PM ---------- Previous update was at 03:38 PM ----------
I just want to get the output of 3 scripts in one mail.
The problem is /home/home1/2.sh >> $OFILE is not working.
Script 2.sh output should be redirected to $OFILE which is not happening.
When i am running the command
./2.sh>>filename
it is not working.
Inside 2.sh script I am redirecting the output of this script to a filename1 and then mailing the output.