Guest User

Untitled

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