18 |
# This is obtained from the report of all observations that the XSA makes to CDS, |
# This is obtained from the report of all observations that the XSA makes to CDS, |
19 |
# xsaobslog.txt (http://nxsa.esac.esa.int/ftp_public/cfs_obslog/xsaobslog.txt). |
# xsaobslog.txt (http://nxsa.esac.esa.int/ftp_public/cfs_obslog/xsaobslog.txt). |
20 |
# |
# |
21 |
# $Id: mlovccf,v 1.13 2016/04/01 12:22:28 ccflib Exp $ |
# $Id: mlovccf,v 1.14 2016/04/04 09:33:19 ccflib Exp $ |
22 |
|
|
23 |
# Next two lines allow to submit this script to the grid |
# Next two lines allow to submit this script to the grid |
24 |
# request Bourne shell as shell for job |
# request Bourne shell as shell for job |
53 |
|
|
54 |
[ ! -f "${bodyfile}" ] && return |
[ ! -f "${bodyfile}" ] && return |
55 |
|
|
56 |
|
echo ; echo "Sending message to ${adminmail} with subject ${subject}" ; echo |
57 |
|
|
58 |
mailx -s "${subject}" "${adminmail}" < ${bodyfile} |
mailx -s "${subject}" "${adminmail}" < ${bodyfile} |
59 |
|
|
60 |
} |
} |