Hi,
I've written a test script, which I can run the script via Termux, but for some reason it doesn't run via MacroDroid and Termux:Tasker.
Hardware and software:
What I've done:
Does anybody have any tips?
I've written a test script, which I can run the script via Termux, but for some reason it doesn't run via MacroDroid and Termux:Tasker.
Hardware and software:
- Phone Nokia G11 with Android 11
- MacroDroid v5.26.8
- Termux v0.118.0
- Termux:Tasker v0.6.0
What I've done:
- Write a script, which should create a file name jou.txt in Termux's storage directory.
-
Bash:
~/.termux/tasker $ cat test.sh #!/usr/bin/env bash touch /data/data/com.termux/files/home/storage/jou.txt
-
- Set executable permission.
-
Bash:
~/.termux/tasker $ ls -l total 8 -rwx--x--x 1 u0_a198 u0_a198 86 Aug 26 09:30 test.sh
-
- Add a macro which has a trigger "every time an SMS is received from any number".
- Set permission to "Run commands in Termux envrionment" has been allowed for MacroDroid.
Does anybody have any tips?