I have a task called "Make Data Mobile"
Given that the manually-run task runs with a higher priority than a called task then I am guessing it is doe to task priorities,
Option #4 - have task stop itself.
> 1- Turn on data (using command svc data enable)
> 2- Wait 1 minute
Stop - if %PACTIVE ~ *,name off profile,*
> 3- Turn off data (using command svc data disable)
> 4- Wait 9 minutes
Stop - if %PACTIVE ~ *,name off profile,*
Option 1 - "Invert the profile context - reverse the enter and exit tasks - deselect the 'enforce task order' option in the profile properties."
I don't understand this at all, sorry to be slow. What does deselecting "Enforce Task Order" achieve?
Opt2 - "Instead of running the actual exit task use a preform task action to set a lower priority on the exit task."
Do you mean using a task to call another task of another priority?
I thought about this to stop the "Make Data Mobile" task, but what happens in the following scenario?;- There is a 'Make Data Mobile' task of priority 5 running.- You call another task called 'Data On', with the same priority (5), which calls another task called 'Data On2' of priority 6 which stops 'Make Data Mobile'.Does 'Data On2' run at priority 5 (the same as that of the calling task) or at priority 6? If it does then this would be a solution. Was this what you were suggesting?
Opt3 - "Of course you could also use 2 separate profiles and use the display on / OFF 'Event' context."Not sure I follow this but it occurred to me that you could use two profiles with the same criteria (i.e. display on and no WiFi connected) and use one of them to call the 'Data On' task at priority 5 as an entry task with no exit task, and use the other one to call the 'Make Data Mobile' task at a lower priority (4). Would this work?
Is this what you are suggesting?
Opt4 - "Option #4 - have task stop itself ... Stop - if %PACTIVE ~ *,name off profile,*"This looks elegant and explores bits of Tasker I don't know about - I think I need to do some research.Thanks very much for your help. I think I have some more playing around to do!