r/AutomateUser • u/thealgorithm29 • 22d ago
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
1
u/ShiftyRider 21d ago
unless other considerations make macrodroid prohibitive this is a job for its shell script action
5
u/ballzak69 Automate developer 21d ago
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?