Jason Yu
asked on
what does this code mean
I have the following code running as a crontab on a jboss server, could anyone explain each line, thanks.
#!/bin/bash
for i in {1..20}
do
#curl $(curl -k -i -m 10 https://xxx.xxx.com/jboss-status -k -i 2> /dev/null | grep "Location:" |sed 's/Location: //') > /var/www/html/f5-status 2> /dev/null
curl -kLm 10 https://localhost/jboss-status > /var/www/html/f5-status 2> /dev/null
sleep 15
done
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
... >> /var/www ...