Hello,
I'm sure this has been answered before, but I can't see anything relevant from a keyword search.
I have a script that runs some batchwork and has various phases.
The batchwork should start at 03:30 from cron, but may not always as it's dependant on files being FTP'd from another server. I'm trying to write something to tell me
1. The start & end time of the process - This works
2. The time each phase started finished - This works
3. The Total time in hh:mm:ss the process took
4. The Total time each phase took
The results I'm getting at the moment are things like
04:84:66 total time
Anyone got any useful tips on taking one time from another and getting a decent output?
--
| Mike Nixon
| Unix Admin
|
----------------------------
I'm sure this has been answered before, but I can't see anything relevant from a keyword search.
I have a script that runs some batchwork and has various phases.
The batchwork should start at 03:30 from cron, but may not always as it's dependant on files being FTP'd from another server. I'm trying to write something to tell me
1. The start & end time of the process - This works
2. The time each phase started finished - This works
3. The Total time in hh:mm:ss the process took
4. The Total time each phase took
The results I'm getting at the moment are things like
04:84:66 total time
Anyone got any useful tips on taking one time from another and getting a decent output?
--
| Mike Nixon
| Unix Admin
|
----------------------------