Subversion Repositories wimsdev

Rev

Rev 6771 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6771 Rev 6774
Line 1... Line 1...
1
#! /bin/sh
1
#! /bin/sh
2
 
2
 
3
tmp=`echo "$wims_exec_parm" | ./bin/wrap..exec chemeq -lW
3
tmp=$(echo "$wims_exec_parm" | ./bin/wrap..exec chemeq -lW)
4
echo "$tmp"
4
echo "$tmp"
5
 
5
 
6
if echo "$tmp" | grep ERROR >/dev/null 2>&1; then
6
if echo "$tmp" | grep ERROR >/dev/null 2>&1; then
7
 today=`date '+%Y%m%d' >/dev/null 2>&1`
7
 today=`date '+%Y%m%d' >/dev/null 2>&1`
8
 echo "$today chemeq: $wims_exec_parm" >>../log/user_error.log 2>/dev/null
8
 echo "$today chemeq: $wims_exec_parm" >>../log/user_error.log 2>/dev/null