Skip to content

Instantly share code, notes, and snippets.

@anshultiwari1
Last active August 29, 2015 14:24
Show Gist options
  • Save anshultiwari1/7db6b63c4a07cc2b6af4 to your computer and use it in GitHub Desktop.
Save anshultiwari1/7db6b63c4a07cc2b6af4 to your computer and use it in GitHub Desktop.
to get time for all tasks of a particular job id from tractor database
# to get time for all tasks of a particular job id from tractor database
tq_bin='/home/anshul/dev/python/Tractor-2.0/bin/tq'
export TRACTOR_ENGINE=fox:1503
$tq_bin tasks "jid=877" -c wtime --nh | tail -n+2 | awk '{print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment