[Asterisk-Users] cronjob to reboot gs101

dkwok dkwok at iware.com.au
Sun Apr 4 19:09:56 MST 2004


I have used curl to reboot the GS101 as follow:

curl -c cookies.txt -d"P2=xxxxx&Login=Login&gnkey=0b82" 
http://192.168.1.xxx/dologin.htm
curl -b cookies.txt http://192.168.1.xxx/rs.htm

Put these 2 lines in a script and use cron to reboot everyday.


-- 
David Kwok
Tel: 612 99292086 ext 1002
Iaxtel/FWD # 17001813482 ext 1002
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1878 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040404/45ea6e95/smime.bin


More information about the asterisk-users mailing list