08-20-2009
What do you mean?
If ftped twice a day, sure you will receive it a second time... or that is not what you ment...
Should we understand the file can be resent later independently of the 2 daily occurences?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
If there is a file being transferred from one box to another box, How can one confirm on the 2nd box..that the file has arrived, and transfer is complete ?
I mean in addition to checking the file exists, I want to confirm its transferred completely and not growing in size. (4 Replies)
Discussion started by: amsh76
4 Replies
2. Shell Programming and Scripting
hi all,
i recieve a file from other server, on a daily basis .... but the time of arrival is unpredictable ....
i need to move this file to another directory before the next file arrives ...
i have written a script that does this op and performs some manipulations on the data...
but i... (2 Replies)
Discussion started by: sais
2 Replies
3. Shell Programming and Scripting
Hi all:
Trying to count the number of oracle instances on HPUX 11.23 - using ksh. I have multiple instances running and I would like to have a count for how many processes for each instance. Example, run the 'ps -efu oracle' command and for each instance increment a counter. So I am looking for... (4 Replies)
Discussion started by: raggmopp
4 Replies
4. Shell Programming and Scripting
I have a unix shell script (ex.sh) written.
How to find out how many users (incl. myself) have run this .sh ?
I can insert code snipet at top of script if need be.
- Ravi (2 Replies)
Discussion started by: ravi368
2 Replies
5. Shell Programming and Scripting
Hi All,
I am getting some file through using sftp from another server to my server.
I want know the exact file arrival time on my sytem
I have tried stat command . it gives me the below details
$ stat abc.txt
File: `abc.txt Size: 24231 Blocks: 48 IO Block:... (5 Replies)
Discussion started by: aish11
5 Replies
6. Shell Programming and Scripting
HI,
I need to print the record count of a file using shell script.
If the record count of a file excluding header and trailer record if greater than zero then print 'Record count of a file is xxxx records'.
If the record count is zero print 'zero records'
Thanks
Mahendra (1 Reply)
Discussion started by: mmeda
1 Replies
7. Shell Programming and Scripting
Hi,
I have files in the directory like below which I need to validate if all the required files are present.
A_B_001 of 002_time1.txt
A_B_002 of 002_time1.txt
A_B_001 of 001_time2.txt
Scenarios-
a)If file with 001 of 002_time1 or 002 of 002_time1 is missing in the folder,script should... (6 Replies)
Discussion started by: aneeta13
6 Replies
8. UNIX for Dummies Questions & Answers
hello,
I have implemented this command :
tshark -eth0 -T fiels -e frame.time et sip.Request-Line -z sip,stat > test2.txt
the result of this command : test.txt:
Aug 27, 2013 23:06:47.334270000 INVITE
Aug 27, 2013 23:06:47.335045000 SIP/2.0 401 Unauthorized
Aug 27, 2013... (1 Reply)
Discussion started by: Amouna
1 Replies
9. Shell Programming and Scripting
I have file listed in my directory in following format
-rwxrwxr-x+ 1 test test 4.9M Oct 3 16:06 test20141002150108.txt
-rwxrwxr-x+ 1 test test 4.9M Oct 4 16:06 test20141003150108.txt
-rwxrwxr-x+ 1 test test 4.9M Oct 5 16:06 test20141005150108.txt
-rwxrwxr-x+ 1 test ... (2 Replies)
Discussion started by: krish2014
2 Replies
10. Shell Programming and Scripting
Hi all;
Here is my file:
V1.3=4
V1.4=5
V1.1=3
V1.2=6
V1.3=6
Please, can you help me to write a script shell that counts the sum of values in my file (4+5+3+6+6) ?
Thank you so much for help.
Kind regards. (3 Replies)
Discussion started by: chercheur111
3 Replies
LEARN ABOUT CENTOS
certwatch
CERTWATCH(1) Cryptography Utilities CERTWATCH(1)
NAME
certwatch - generate SSL certificate expiry warnings
SYNOPSIS
certwatch [OPTION...] filename
DESCRIPTION
The certwatch program is used to issue warning mail when an SSL certificate is about to expire.
The program has two modes of operation: normal mode and quiet mode. In normal mode, the certificate given by the filename argument is
examined, and a warning email is issued to standard output if the certificate is outside its validity period, or approaching expiry. If the
certificate cannot be found, or any errors occur whilst parsing the certificate, the certificate is ignored and no output is produced. In
quiet mode, no output is given, but the exit status can still be used.
The certificate can be specified by its nickname or by a path to the containing file.
OPTIONS
--quiet, -q
Enable quiet mode; no output is produced whether the certificate is expired or not
--period days, -p days
Specify the number of days within which an expiry warning will be produced; default is 30. Expiry warnings are always produced if, on
the day of invocation, the certificate is not yet valid, has already expired, or is due to expire either that day or the following day.
--address address, -a address
Specify the address used in the To field of the warning e-mail issued if quiet mode is not enabled. The default is root.
--directory cert-directory, -d cert-directory
Specify the database directory containing the certificate and key database files. The default is yet to be determined.
DIAGNOSTICS
The exit code indicates the state of the certificate:
0
The certificate is outside its validity period, or approaching expiry
1
The certificate is inside its validity period, or could not be parsed
NOTES
The certwatch program is run daily by crond from the file /etc/cron.daily/certwatch to generate warning mail concerning the imminent expiry
of SSL certificates configured for use in the Apache HTTP server. These warnings can be disabled by adding the line: NOCERTWATCH=yes to the
file /etc/sysconfig/httpd. Additional options to pass to certwatch can be specified in that file in the CERTWATCH_OPTS environment
variable.
FILES
/etc/cron.daily/certwatch, /etc/sysconfig/httpd
SEE ALSO
genkey(1)
crypto-utils 2.4.1 9 June 2014 CERTWATCH(1)