0

I need a shell script to get data from the URL and process it.

curl "$Url" | jq '(..|select(type == "number")) |= tostring' > "$SCRIPTPATH/../output.json"

Curl is used for getting data, all work well, but there is a small problem. Sometimes curl works long, and I want to check these URLs. But curl doesn't measure spent time properlydoesn't

The result is always 2-3 seconds, but it's about 5 minutes really. It seems to curl stop to calculate time after few seconds. How can I fix it to get proper result&

  • 1
    You could use time to measure the actual time spent. – Panki Apr 17 at 11:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.