mib-payment-verify/keepalive.sh

11 lines
219 B
Bash
Raw Normal View History

2024-10-19 01:02:21 +05:00
#!/bin/bash
while true; do
source .env 2> /dev/null
2024-10-19 03:00:25 +05:00
KEEP_ALIVE=$(curl -s 'https://faisanet.mib.com.mv/aProfile/keepAlive' \
2024-10-19 01:02:21 +05:00
-X 'POST' \
2024-10-22 00:42:17 +05:00
-H "cookie: ql_0=${QL_0}; IBSID=${IBSID}")
2024-10-19 03:00:25 +05:00
echo $KEEP_ALIVE
2024-12-08 23:52:18 +05:00
sleep $SLEEP
2024-10-19 01:02:21 +05:00
done