how can i find task's duration in commandline