Email out after second resubmit, in spite of a time stamp update.
I have a resubmit script renames files in a directory, I want to notify via email the third time. I was just going to run the resubmit.sh script in cron every 15 minutes but the timestamp thing is killing me since it updates each time.
this resubmit.sh can't be changed it hits a couple of jar files and tries to resubmit these files. It updates the time stamp. Each time the resubmit.sh is run. If they are good they move on in the process, if they error again I need a way to send an email out on the third time the resubmit runs and hits the same files. How can I alert on these guys if the timestamp is updated everytime the resubmit runs?
Hi All,
Wondering if there is have a date added at the end of a test string. I have a hypothetical text file day one:
John
Paul
George
When the file day one is output, I'd like it to read something like this:
John 101406
Paul 101406
George 101406
Day two, when the same text file... (0 Replies)
Hi all;
I'm relatively new to scripting,I am working on a monitoring script.....where in i have to write subroutine
which does the follows:
It will check the time stamp of a file ( Oracle remarchive files) and compare it with existing time.If the time difference happen to be more than 90... (6 Replies)
hi everyone
i am facing a strange problem here
suppose content of my file is
a=1,2,3
b=2,3,4
c=4,5,6
time=
now the problem is i want to add value in front of time variable
and the value should be i format only "HHMMSS"
so it should be like this
a=1,2,3
b=2,3,4
c=4,5,6... (3 Replies)
Here is two time I have:
Jul 12 16:02:01
Jul 13 01:02:01
and how can I do a simple match to get difference between two time which is 09:00:00
Thanks in advance. (3 Replies)
Hi All,
I am facing small problem.
i want to print file time stamp on which date file has placed in the server.
i have given some code but its not giving the year.
any help appreciated.
regards
rajesh. (4 Replies)
On Solaris 10 server the system date won't match with the timestamp on files created by a cron jobs, Please help
here is what i get when i check for system date
infodba-ie10ux014:/tcpdv1_ie10/tcadmin/bin\n\r-> date
Tue Apr 24 15:27:43 GMT 2012at same time i executed a cron job, and checked... (4 Replies)
I have a log file which wrote time stamp like this
2013-02-11 00:46:40.389037
2013-02-12 11:46:40.197045
can any one help me to get the time stamp difference of these two line in seconds. (4 Replies)
hi all
find /folder1 -mtime 1 >folder1
with the above command , I can get the output of all the files which are modified(within folders and sub folders of folder1) in the last 24 hours.
but the listed files output , does not contain the time stamp with it.
I request you to give... (4 Replies)
Can anyone please assist?
I need to grab each line between the lines "HEADER" and "TRAILER"
Each line contains two timestamps(Timestamp1) and (Timestamp2). I need to create two variables TIME_SUBSTRCT and TIME_ADD and
then recalculate the two timestamps using this logic:... (5 Replies)
Discussion started by: vinus
5 Replies
LEARN ABOUT OSX
kproplog
KPROPLOG(1) General Commands Manual KPROPLOG(1)NAME
kproplog - display the contents of the Kerberos principal update log
SYNOPSIS
kproplog [-h] [-e num]
DESCRIPTION
The kproplog command displays the contents of the Kerberos principal update log to standard output. It can be used to keep track of the
incremental updates to the principal database, when enabled. The update log file contains the update log maintained by the kadmind process
on the master KDC server and the kpropd process on the slave KDC servers. When updates occur, they are logged to this file. Subsequently
any KDC slave configured for incremental updates will request the current data from the master KDC and update their principal.ulog file
with any updates returned.
The kproplog command can only be run on a KDC server by someone with privileges comparable to the superuser. It will display update
entries for that server only.
If no options are specified, the summary of the update log is displayed. If invoked on the master, all of the update entries are also dis-
played. When invoked on a slave KDC server, only a summary of the updates are displayed, which includes the serial number of the last
update received and the associated time stamp of the last update.
OPTIONS -h Display a summary of the update log. This information includes the database version number, state of the database, the number of
updates in the log, the time stamp of the first and last update, and the version number of the first and last update entry.
-e num Display the last num update entries in the log. This is useful when debugging synchronization between KDC servers.
-v Display individual attributes per update. An example of the output generated for one entry:
Update Entry
Update serial # : 4
Update operation : Add
Update principal : test@EXAMPLE.COM
Update size : 424
Update committed : True
Update time stamp : Fri Feb 20 23:37:42 2004
Attributes changed : 6
Principal
Key data
Password last changed
Modifying principal
Modification time
TL data
SEE ALSO kpropd(8)KPROPLOG(1)