I have the following running in Cron.
I RESULTFILE is created and has expected content.
The mail is sent however, the attachment isnt.
I have had path issues with cron before, but Im not sure I can give any further full paths then I have already done. One side note is that the ADMINs make me sudo up to an account with a higher level of permissions than I have.
It was working fine at one point.
#! /bin/ksh
#
<run snmp script> > /store/eng/tools/monthly/RESULTFILE
sleep 500
/usr/bin/ uuencode 'RESULTFILE' /store/eng/tools/monthly/RESULTFILE |\
mailx -s "RESULTFILE" <mail.adr.1> <mail.adr.2> <mail.adr.3>
I RESULTFILE is created and has expected content.
The mail is sent however, the attachment isnt.
I have had path issues with cron before, but Im not sure I can give any further full paths then I have already done. One side note is that the ADMINs make me sudo up to an account with a higher level of permissions than I have.
It was working fine at one point.
#! /bin/ksh
#
<run snmp script> > /store/eng/tools/monthly/RESULTFILE
sleep 500
/usr/bin/ uuencode 'RESULTFILE' /store/eng/tools/monthly/RESULTFILE |\
mailx -s "RESULTFILE" <mail.adr.1> <mail.adr.2> <mail.adr.3>