Partizanin
Occasional Visitor
Hi, i have
I have created file
When i try execute script manually the request is sending and i got message on my phone but if it executing by service event script is starting but request is not sending.
May be someone know resean or solution for this ?
Here my script file
Here log of my router log screenshot
asus tuf ax3000
, with AsusWrt Merlin firmware and i`m trying to send https request through user script.I have created file
service-event
and put it to the /jffs/scripts
and make it executable,but for some reason my request hasn`t send, but script running every time when a service event occurs because i can see it in log.When i try execute script manually the request is sending and i got message on my phone but if it executing by service event script is starting but request is not sending.
May be someone know resean or solution for this ?
Here my script file
Code:
#!/bin/sh
BOT_TOKEN=""
CHAT_ID=""
curl --location --request GET 'https://api.telegram.org/botBOT_TOKEN/sendMessage?chat_id=CHAT_ID&text=hi'
Here log of my router log screenshot