import time
with open("/tmp/ping_pong_test", "w") as f:
    f.write(f"START {time.time()}\n")
for i in range(120):
    with open("/tmp/ping_pong_test", "a") as f:
        f.write(f"ALIVE {i} {time.time()}\n")
    time.sleep(2)
