![]() |
|
|
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 |
| autorep command in autosys | tejasingaraju17 | Shell Programming and Scripting | 8 | 02-05-2009 04:12 PM |
| Plz Help me to find GNU C++ Runtime Library | smartgupta | Linux | 2 | 09-22-2008 07:57 AM |
| autorep command cut longer jobnames. Anybody into autosys / autorep? | drmaniac | Shell Programming and Scripting | 7 | 09-12-2008 12:20 PM |
| XL c\c++ runtime upgrade -fp4 db2 v9.1 | ak835 | AIX | 3 | 04-22-2008 09:33 AM |
| autorep command to get autosys command | ysrinu | Shell Programming and Scripting | 1 | 11-12-2007 03:09 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to find job runtime using Autorep
Hey guys,
Is there an autorep option to find out the current runtime of a job.. Or do you have to work it out using machine time and start time? What I'm trying to do is create a script that will email out the autosys job details. I was hoping there would be an autorep command that would return the jobs runtime.. Can't find anything on the cheatsheet or on the net about this.. Is there any other way around this? Am experimenting with the date function and trying to work out the run time that way but its not working out too well.. This is what I've tested with so far.. #! /bin/ksh -x # start=`date +%H%M` # sleep 120 # end=`date +%H%M` # result=(($end - $start)) # echo $result But its coming back with: date.ksh[9]: syntax error at line 9 : `(' unexpected Thanks, Jaz Last edited by Jazmania; 12-10-2008 at 07:17 AM.. |
| Bookmarks |
| Tags |
| autosys, unresolved, unresolved for months, unresolved for weeks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|