How to use ANT to save current process run time? -


how save current process running time in text file using ant, read file , assign ant variable?

you can use ant exec task. there can specify executable ps , necessary arguments (pid, options). can check argumengs here.

you specify outputproperty in ant exec task output redirected property.

then can put value in file using echo task.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -