07-15-2009
Hi
You mean to say that if check for 5 days ,need to query 5 times ,Is there any way to dynamic this?
Thanks,
Akil
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have writtena script that will recursivly go into subdirecotries and report out what files there are in there that have not been accessed over various date ranges.
I do this using a number of find commands:
find . -path './.snapshot' -prune -o -type f -atime -8
find... (4 Replies)
Discussion started by: littleIdiot
4 Replies
2. Shell Programming and Scripting
Hi All,
The developers want me to search and capture the weblogic log, you know this big logs of htmls.
They want to me to have ranges on the date and time. Like
from "2010-01-20 14:04:46,186" to "2010-01-20 15:00:12,490"
I can only do this,
cat /usr/local/bea/logs_prod1/debug.log |... (1 Reply)
Discussion started by: itik
1 Replies
3. Linux
Hi All,
The developers want me to search and capture the weblogic log, you know this big logs of htmls.
They want to me to have ranges on the date and time. Like
from "2010-01-20 14:04:46,186" to "2010-01-20 15:00:12,490"
I can only do this,
cat /usr/local/bea/logs_prod1/debug.log... (1 Reply)
Discussion started by: itik
1 Replies
4. UNIX for Dummies Questions & Answers
I have a list of about 200,000 lines in a text file that look like this:
1 1 120
1 80 200
1 150 270
5 50 170
5 100 220
5 300 420
The first column is an identifier, the next 2 columns are a range (always 120 value range)
I'm trying fill in the values of those ranges, and remove... (4 Replies)
Discussion started by: knott76
4 Replies
5. UNIX for Dummies Questions & Answers
Good day to everyone!
So, let's start :)
I have a file with a numbers in some ranges
for example:
1 10
49 72
...
and this file need to transform to:
1
2
3
4 (14 Replies)
Discussion started by: shizik
14 Replies
6. Shell Programming and Scripting
hi !
how can i get files in a directory between certain date ranges ?
say all files created/modified between Jan24 - Jan31
thanks (10 Replies)
Discussion started by: aliyesami
10 Replies
7. Shell Programming and Scripting
Hi,
I have two files
file1 chr1_22450_22500
chr2_12300_12350
chr1_34500_34550
file2 11000_13000
15000_19000
33000_44000
If the file 1 ranges fall between file2 ranges then assign the value of file2 in column 2 to file1
output:
chr2_12300_12350 11000_13000
chr1_34500_34550 ... (7 Replies)
Discussion started by: Diya123
7 Replies
8. Programming
Hi Guys,
I am having below tables used in oracle
bal
ID BALANCE BAL_DATE
1 -11.71 01-JAN-05 00.00.00
1 -405.71 02-JAN-05 00.00.00
1 -760.71 03-JAN-05 00.00.00
ref_table
PRODUCT EFF_FROM_DATE EFF_TO_DATE TYPE MIN_AMT MAX_AMT CHARGE
12 01-JAN-05 00.00.00 01-JAN-06... (6 Replies)
Discussion started by: rohit_shinez
6 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I am a noob and need some help.
I am trying to find files created between a date range.
For Example:
These are files in directory.
-rw-r--r-- 1 user staff 6 May 8 09:43 file1.txt
-rw-r--r-- 1 user staff 6 May 8 09:43 file2.txt
-rw-r--r-- 1 user... (8 Replies)
Discussion started by: r@v!7*7@
8 Replies
10. Shell Programming and Scripting
Hi There, Good Day !!
I have txt file containing data in the below format. There are many lines, here i have mentioned for example.
cat remo.txt
2/3/2017 file1
3/4/2016 file2
6/6/2015 file5
1/1/2018 file3
4/3/2014 file4
-
-
-
I need to grep the file names for given date rage... (11 Replies)
Discussion started by: kumar85shiv
11 Replies
LEARN ABOUT DEBIAN
sendinpaths
SENDINPATHS(8) InterNetNews Documentation SENDINPATHS(8)
NAME
sendinpaths - Send Usenet Path: statistics via e-mail
SYNOPSIS
sendinpaths [-cdhn] [-k keep-days] [-r report-days] [address [address ...]]
DESCRIPTION
sendinpaths checks pathlog/path for ninpaths dump files, finds dump files generated in the past report-days days, makes sure they are valid
by running ninpaths on each one and making sure the exit status is zero, and passes them to ninpaths to generate a cumulative report. By
default, that report is mailed to the e-mail addresses configured at the beginning of this script (by default, only one address is
configured: <top1000@anthologeek.net>) in order to supply the TOP1000 project with useful statistics. See
<http://top1000.anthologeek.net/> for more information.
When finished, sendinpaths deletes all dump files in pathlog/path that are older than keep-days days.
For more information on how to set up ninpaths, see ninpaths(8).
OPTIONS
-c When this flag is used, the report is also e-mailed, besides the default submission addresses or those given as command-line arguments,
to the newsmaster's address set at configure time.
-d Enables debug messages.
-h Gives usage information.
-k keep-days
After having processed dump files, sendinpaths removes those that are older than keep-days days. The default is 0, that is to say to
remove all dump files.
Setting keep-days to another value can be useful for debugging purpose because it permits to keep a few dump files.
-n Don't e-mail the report; instead, just print it to standard output. Don't delete old dump files.
-r report-days
Process dump files generated during the last report-days days. The default is 32, that is to say to process all the dump files that
have been generated during the last 32 days (if, of course, they have not been deleted yet by a previous run of sendinpaths according
to the value set by the -k flag).
address ...
E-mail the report to the mentioned address or addresses, instead of the default one. Several addresses can be used, separated by
whitespace. For instance, for two adresses:
sendinpaths pathsurvey@top1000.org top1000@anthologeek.net
HISTORY
sendinpaths was written by Olaf Titz <olaf@bigred.inka.de>.
$Id: sendinpaths.pod 9384 2011-12-25 20:57:03Z iulius $
SEE ALSO
ninpaths(8).
INN 2.5.3 2012-06-15 SENDINPATHS(8)