continuous ping to text file with timestamp linux