![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To extract data of a perticular interval (date-time wise) | abhishek27 | Shell Programming and Scripting | 3 | 07-03-2008 03:32 AM |
| Generating files with time interval of fifteen minutes | aajan | Shell Programming and Scripting | 0 | 09-25-2007 02:54 AM |
| change time interval for /proc/loadavg calculation | Rakesh Ranjan | High Level Programming | 2 | 05-12-2006 05:48 AM |
| Shell Script Run Interval to be dynamic | rahulrathod | Shell Programming and Scripting | 5 | 12-19-2005 06:18 PM |
| Time Wait interval | eloquent99 | SUN Solaris | 1 | 12-05-2003 09:56 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
script to run repeatedly after a fixed interval of time
Hi ,
I am working on the following script . I want this script to run and scan the log file repeatedly after 3 hours. This script will run & scan just for the current date logs and after every 3 hours. Kindly advice what to add in this script for this purpose. #!/bin/sh diff common.log common.log.1 > DIFFERENCE.log cp common.log common.log.1 grep "DEBUG" DIFFERENCE.log if [ $? -eq 0 ]; then echo "1" else echo "0" fi Regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|