Using RTC instead of millis to execute something every second

I think the DS3231 has the capability to output a 1 hz square wave on one of it’s pins. I would think about using that.

Jimmy