Changeset 2838 for WAeUP_SysConf/logging/trunk/usr
- Timestamp:
- 3 Dec 2007, 00:09:39 (17 years ago)
- Location:
- WAeUP_SysConf/logging/trunk/usr/local
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SysConf/logging/trunk/usr/local/sbin/updatedb_zevents.sh
r2826 r2838 23 23 24 24 EVENT_LOG=event.test.log 25 AWKZEVENT=zevents.awk 25 PYZEVENT=zevents.py 26 26 27 27 ## Read true values... … … 36 36 #fi 37 37 38 if [ ! -r $ AWKZEVENT ]; then39 echo "File not readable: $ AWKZEVENT";38 if [ ! -r $PYZEVENT ]; then 39 echo "File not readable: $PYZEVENT"; 40 40 exit -1; 41 41 fi 42 cat $EVENT_LOG | gawk -v SQL=1 -f $AWKZEVENT | psql -h $HOST -d zevents -U $USER > /dev/null 2>&142 cat $EVENT_LOG | python $PYZEVENT | psql -h $HOST -d zevents -U $USER > /dev/null 2>&1 43 43
Note: See TracChangeset for help on using the changeset viewer.