Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Simple loop to login every seven minutes. This one tested on Mac OSX. Revision 2 on Linux.
#!/bin/bash
while true
do
curl -d "mode=191&username=UUUU&password=PPPPPP" http://172.10.1.2:8090/httpclient.html -o /dev/null
sleep $[7*60];
done
@spacetime
Owner

Replace UUUUU with username. PPPPP with password.

@R4CHI7

thanks! that may prove to be very helpful :)

@vishurockssrivastava

Whoa!! Thanks a lot for this!! Gonna try this the first thing tomorrow morning...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.