dear all,
I have a cron runnign with the script below.
{code}
DT=`date +"%Y%m%d%H%M%S"`
rm -f /tmp/exp_pipe_full_SYST_infra
/usr/sbin/mknod /tmp/exp_pipe_full_SYST_infra p
nohup compress < /tmp/exp_pipe_full_SYST_infra > /backup/orainfra/soadhy/SYST_FULL_INFRA_"$DT".dmp.Z &
nohup $ORACLE_HOME/bin/exp system/SOA123@soadhy file=/tmp/exp_pipe_full_SYST_infra log=/backup/orainfra/soadhy/log/SYST_FULL_INFRA_"$DT".log full=y statistics=none &
mailx -s "SYST_INFRA_Backup_$DT"
admin@jook.com.mg< /backup/orainfra/soadhy/log/SYST_FULL_INFRA_"$DT".log &
{code}
Export session is successfully completed..but the requirement is that it should send the log file to the user mail id.
But it is never working.. I can able to send mails through mailx from the command prompt..Please advise what is wrong with the script?
Kai