Timeline for recording total runtime in bash script
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 8, 2015 at 13:22 | comment | added | terdon♦ |
@IGGt you can still use time, just use a subshell: ( time script.sh ) 2> log.txt
|
|
| Apr 8, 2015 at 12:58 | vote | accept | IGGt | ||
| Apr 8, 2015 at 12:51 | comment | added | IGGt |
cheers, that makes sense. I didn't use time as I wanted the result stored in the file. Also, I didn't get any error messages (not that I saw anyway).
|
|
| Apr 8, 2015 at 11:09 | history | answered | terdon♦ | CC BY-SA 3.0 |