Writing to the file every second will not increase the probability of the system failure unless you plan to write to SD card. Computers write data very frequently and one additional write every second will not have any significant effect on the system lifetime.
As other colleagues stated - if the information is important you should backup it.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…