$ 0 0 How to write such function so that want every 20 seconds program would write time to the log file. How to make this function? Advise me please.