I am using a popular HOSTUMP script that dumps successfully to a log file named
servername_a_`date +%m%d%y`.log
I then want to kick off a second cron job that will email me that log. I am assuming it has to be something like
00 07 * * 2 mailx -s 'SERVERNAME Tape A Weekly Backup Log' whomever@somewhere.com <! `cat /vol4/admin/logs/servername
_a_`date +%m%d%y`.log`
I am pretty new to this (obviously) Can anyone provide a little guidance? Maybe it is just easier to do this in the script itself? Thanks!