• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Tasker repeat until success

hansar

Lurker
Hello guys,

I have a question about Tasker. I created a task for connecting VpnRoot on boot, but there is a problem because it wont connect every time, i have to wait few minutes or it wont connect at all.

Is there any way to create a task that will repeat action (pptp connect) until success?
Here is task:

In Tasker :
- add profile, select "state" then on "state category" select "Net", on "Net Action" select "Wifi Connected" and then save.
- on "Task Selection" select "New Task", then "Misc", on "Select Misc Action" select "Send Intent" using this fileds:
Extra vpn_server:1
Extra vpn_connectn
Package com.did.vpnroot
Class com.did.vpnroot.CheckRun
Target Service


Thank you
 
ok, let me ask a dumb question.

do know of a way to test for success?

(if yes, then the flow control statements to keep trying until successful are pretty easy)
 
Back
Top Bottom