Forgot to uncomment the curl command... ;)

This commit is contained in:
Ciaby 2015-07-24 17:29:31 +02:00
parent f99df6fd2f
commit 17ce7ca3e4

View file

@ -4,4 +4,4 @@
USERNAME="<%= @voip_username %>" USERNAME="<%= @voip_username %>"
PIN="<%= @voip_password %>" PIN="<%= @voip_password %>"
#/usr/bin/curl -c /tmp/cookie.txt -L --data "p_sa=$USERNAME&p_pin=$PIN&p_nic=200&p_appname=reseller&p_formlang=english&dest=/account/reseller/english/splash.asp" "https://www.myaccountcenter.net/account/lookup.asp?WCI=login" 2>/dev/null | grep 'Funds Remaining' | awk -F'$' '{print $2}' | tr '</b>' ' ' /usr/bin/curl -c /tmp/cookie.txt -L --data "p_sa=$USERNAME&p_pin=$PIN&p_nic=200&p_appname=reseller&p_formlang=english&dest=/account/reseller/english/splash.asp" "https://www.myaccountcenter.net/account/lookup.asp?WCI=login" 2>/dev/null | grep 'Funds Remaining' | awk -F'$' '{print $2}' | tr '</b>' ' '