2

I have searched for this but till now I have not found any tasker that would be able to do this, so I decided to ask here.

Till now I have been using Trigger Pro as my favorite tasker but it lacks in advance usage, like run certain scripts over shell when triggered. I have been just able to run one script over Terminal app, by running a command when it launches that app, but through this I am just able to launch one script =/.

So any of you knows way to do this?

  • Can you tell us, why do you want to run your script visibly? That is it say, why not deploy a method that would silently run the script? Tasker can do this well, so as Automate from LlamaLab. – Firelord Mar 10 '17 at 8:00
1

This can be easily achieved by using Tasker.

Instructions:

  • Create a named task.

  • A1: Code >> Run Shell [Command: (insert any code you wish to run) Store Output: (insert any variable which will retain the value of ouput - stdout) Store errors in : (insert a variable which stores errors - stderr)]

  • Tap back to exit
  • Link your task to your profile.

Note: for shell commands that require root you have to the tick the 'use root' option

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.