#!/bin/sh

while sleep 60; do
    IP="$(curl -s -x socks5h://tord:9050 -w '%{time_starttransfer}\n' ifconfig.io | tr '\n' ' ')"
    DF="$(date +'%Y/%m/%d_%H:%M:%S')"
    echo "$DF worker$WORKER $IP" >> /data/ip
done

