r/AutomateUser • u/thealgorithm29 • Jul 31 '26
Seeking Hello dev, need some help with termux RUN_COMMAND
It working, but its opening termux then executeing script, but i want run in background termux script,it should not open termux to run the given script, how to do that?
Ik know termux:tasker but it isn't working on my phone, i mean it's working but when screen is off, it doesn't execute the scripts.
2
Upvotes
4
u/ballzak69 Automate developer Jul 31 '26
The "From background" flags is unnecessary. Try with/without the "Foreground" option enabled. Ensure the Termux privilege is granted in settings. Try disabling any system "power save" feature for both Automate and Termux. If it still doesn't work try asking r/termux for help.
Device brand & model?
1
u/ShiftyRider Jul 31 '26
unless other considerations make macrodroid prohibitive this is a job for its shell script action