Search Results

Search: Posts Made By: *Jess*
7,578
Posted By *Jess*
Hi, Thx a lot for the script. We will rename that...
Hi, Thx a lot for the script. We will rename that file to another name once a week, which means the original file will start with 0 bytes 0 lines again.

So it's not accurate to count with lines. ...
7,578
Posted By *Jess*
Below shows my script: C_DATE=`date +"%a %b...
Below shows my script:

C_DATE=`date +"%a %b %e "`
C_HOUR=`date +"%H"`
C_TIME=`date +"%p"`
ORACLE_HOME='/u01/oradw';export ORACLE_HOME
ORACLE_SID=PDWH;export ORACLE_SID

sed -n "/^$C_DATE/,$...
7,578
Posted By *Jess*
Scripts to output contents every 3 hours
Hi all,
I would like to capture the file contents every 3 hours. I will put the schedule inside crontab, how to get only incremental contents from the last 3 hours?
Thanks.
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy