1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Kill an active task?

Last Updated:

  1. digit27

    digit27 Active Member

    Is there a way to kill a task that has started? Say I have a task that is waiting, can I kill it with another task?

  2. erda0

    erda0 Member

    I don't think it's can be done with Tasker.
    but I know that "Autorun manager" app can do it.
  3. SUroot

    SUroot Well-Known Member Developer


    New Task > Task > Stop > then browse the task you want it to stop.
  4. gkf9

    gkf9 Well-Known Member

    Is there away to stop an app running in the background? I've set up a car mode to open a sat nav app, but I can't or know how to stop it running in the background after I've exited the app ie the navigation keeps going on in the background.

  5. D-U-R-X

    D-U-R-X turbo drinker Moderator

    could you not set up a widget, so you can toggle car mode on when you get in the car and set it up so that when you toggle car mode off, it exits navigation?
  6. SUroot

    SUroot Well-Known Member Developer

    If your car mode is set up using a state rather than event, you can add an exit task to the car mode task you already have. That could be Application > Kill application
    bberryhill0 and D-U-R-X like this.
  7. bberryhill0

    bberryhill0 Well-Known Member

    I'm feeling dense. How do you add an exit task?
  8. davoid

    davoid Well-Known Member

    If you long press on your task within the profile, a mini menu appears and one of the options is to create an exit task. :)

    You're not dense; Tasker isn't very intuitive and it's hard to find how to do things.
    bberryhill0 likes this.
  9. SUroot

    SUroot Well-Known Member Developer

    Although if the context is an event, you cannot add an exit task (because an event lasts a split second so it would exit after that split second) - so the option doesn't appear. Maybe this is not all events but certainly the ones I've tested.

    Usually the exit tasks work better on states.

    So if you had a profile...

    context > Event > Docked
    Task > "Car Mode"

    This would need to be changed to

    context > state > Docked
    Task > "car mode"
    Exit Task > "Kill App"

    ...so at the instant the state Docked ceases to be true, the profile exits, running teh exit task.
    bberryhill0 likes this.
  10. digit27

    digit27 Active Member

    Will this stop the task if it was currently 'waiting'....what I ended up doing to accomplish this was to add many small 'Waits' with a 'Stop-If' in-between each, instead of one long 'Wait'. If I could stop a 'Wait' task while its running, with another task, then I did a lot of unnecessary copy and pasting lol.

    EDIT: I checked it out and this will not work because the 'Stop' command only works on the current task...there is nowhere to browse the task you want it to stop, from what I see.
  11. bberryhill0

    bberryhill0 Well-Known Member

    In the Task area tap the magnifying glass.

Share This Page