Take a photo, turn wifi ON, wait 20 secs and turn wifi OFF and again and again and again... (10 times)

Take a photo, turn wifi ON, wait 20 secs and turn wifi OFF and again
and again and again... (10 times)