I've tried to create a simple shell script in Macrodroid:
ping -c3 google.com
If I launch the script without using the helper app, the output is:
PING google.com (216.58.205.46) 56(84) bytes of data.
64 bytes from mil07s19-in-f14.1e100.net (216.58.205.46): icmp_seq=1 ttl=117 time=16.8 ms
64 bytes from mil07s19-in-f14.1e100.net (216.58.205.46): icmp_seq=2 ttl=117 time=45.9 ms
64 bytes from mil07s19-in-f14.1e100.net (216.58.205.46): icmp_seq=3 ttl=117 time=28.9 ms
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 16.834/30.598/45.986/11.958 ms
But if I use helper app (I need this 'cause I want to write the output of a curl command in a file), I get the error message:
ping: unknown host google.com
I'm testing this on a Galaxy Tab A7 (SM-T500) without root access, with One UI Core 4.1 and Android 12.
Macrodroid version: 5.39.4
Macrodroid Helper version: 1.13
How can I solve this? On my phone (Galaxy A52s Android 14, helper version 1.7) it works good.
ping -c3 google.com
If I launch the script without using the helper app, the output is:
PING google.com (216.58.205.46) 56(84) bytes of data.
64 bytes from mil07s19-in-f14.1e100.net (216.58.205.46): icmp_seq=1 ttl=117 time=16.8 ms
64 bytes from mil07s19-in-f14.1e100.net (216.58.205.46): icmp_seq=2 ttl=117 time=45.9 ms
64 bytes from mil07s19-in-f14.1e100.net (216.58.205.46): icmp_seq=3 ttl=117 time=28.9 ms
--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2006ms
rtt min/avg/max/mdev = 16.834/30.598/45.986/11.958 ms
But if I use helper app (I need this 'cause I want to write the output of a curl command in a file), I get the error message:
ping: unknown host google.com
I'm testing this on a Galaxy Tab A7 (SM-T500) without root access, with One UI Core 4.1 and Android 12.
Macrodroid version: 5.39.4
Macrodroid Helper version: 1.13
How can I solve this? On my phone (Galaxy A52s Android 14, helper version 1.7) it works good.