![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to log start/stop time of ALL processes | bluesky099 | UNIX for Advanced & Expert Users | 10 | 12-17-2007 08:01 PM |
| start time of a terminated process | k_chaaya | UNIX for Advanced & Expert Users | 2 | 09-03-2006 09:57 PM |
| to get process start date and time | naeem ahmad | UNIX for Advanced & Expert Users | 2 | 02-27-2006 01:09 AM |
| get process start time | naeem ahmad | High Level Programming | 1 | 02-06-2006 04:40 PM |
| Working out end time from start + elapsed | rik1551 | UNIX for Dummies Questions & Answers | 4 | 06-06-2002 01:05 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Is there anyway to get the start time and end time / status of a crontab job which was just completed? Of course, we know the start time of the crontab job since we are scheduling. But I would like to know process start and time recorded somewhere or can be fetched from a command like 'ps'. Please suggest.
-Thambi |
| Forum Sponsor | ||
|
|
|
|||
|
Thanks for suggestions. Actually , my crontab looks like as follows
00 18 * * 1-6 kdshell/remove_flag_files 1>kdlog/remove_flag_files_`date|awk '{print $2 $3 $4}'`.log 2>&1 They are already redirect the log information into a log file. This is stable existing system. I don't want to touch the script , Moreover , our client won't allow us to touch crontab script at all. So I wanted to know any other possibility without touch existing script. I think this is reason some organzation are going for Autosys or Control-M sechudling tool whould would show the start time and end time of the job in the their logs. -Thambi |