when url is not responding curl command does not give any output/error because of this script does not move to next line. command:
/usr/bin/curl --silent --ntlm --user 'username' --url http://server.net/report --output /home/scripts
Is there any way to exit from url with some error output send to output file? so script will move to next line and it will trigger a alert mail and we will take some action.
man curl
.