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?

1
  • 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, 2017 at 8:00

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .