Skip to main content
added 60 characters in body
Source Link
Firelord
  • 25.3k
  • 21
  • 126
  • 292

You can create a task to ping Google DNS as follows:

Task → Code → Run Shell

Command: ping -c 2 8.8.8.8 [Store Output In: %stdout] [Continue Task After Error: checked]

If %stdout ~ 100% packet loss

google servers unreachable

Else

connectivity established

End If

enter image description hereIMG:

Add this to your main task with either keeps wi-fi conection or switches it off.

Credits

Run shell 'ping' with tasker

You can create a task to ping Google DNS as follows:

Task → Code → Run Shell

Command: ping -c 2 8.8.8.8 [Store Output In: %stdout] [Continue Task After Error: checked]

If %stdout ~ 100% packet loss

google servers unreachable

Else

connectivity established

End If

enter image description here

Add this to your main task with either keeps wi-fi conection or switches it off.

Credits

Run shell 'ping' with tasker

You can create a task to ping Google DNS as follows:

Task → Code → Run Shell

Command: ping -c 2 8.8.8.8 [Store Output In: %stdout] [Continue Task After Error: checked]

If %stdout ~ 100% packet loss

google servers unreachable

Else

connectivity established

End If

IMG:

Add this to your main task with either keeps wi-fi conection or switches it off.

Credits

Run shell 'ping' with tasker

Source Link
xavier_fakerat
  • 10.2k
  • 6
  • 42
  • 103

You can create a task to ping Google DNS as follows:

Task → Code → Run Shell

Command: ping -c 2 8.8.8.8 [Store Output In: %stdout] [Continue Task After Error: checked]

If %stdout ~ 100% packet loss

google servers unreachable

Else

connectivity established

End If

enter image description here

Add this to your main task with either keeps wi-fi conection or switches it off.

Credits

Run shell 'ping' with tasker