Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/ksh
- tlog=`tail -1 /tmp/jobname.txt`
- for i in `cat "newco_dm_multischema.log"`
- do
- job=`grep STARTED "newco_dm_multischema.log"|sort -u|awk '{print $7}'>/tmp/jobname.txt`
- starttime=`grep -B1 $tlog "newco_dm_multischema.log"|head -1 $i|awk '{print $1,$2}'|cut -c 2,20 > /tmp/starttime.log`
- done
Add Comment
Please, Sign In to add comment