--- RecordTimer.py.orig.033
+++ RecordTimer.py
@@ -885,7 +885,19 @@
 			list.append(' isAutoTimer="' + str(int(timer.isAutoTimer)) + '"')
 			list.append('>\n')
 
+# GML:3 - Handle repeat entries, which never end and so never get pruned by cleanupDaily
+#       Repeating timers get repeated="127" (or some other non-zero number?)
+#
+			ignore_before = 0
+			if config.recording.keep_timers.value > 0:
+				if int(timer.repeated) > 0:
+					from time import time as systime    # Clash with local var time below
+					ignore_before = systime() - config.recording.keep_timers.value*86400
+
 			for time, code, msg in timer.log_entries:
+# GML:3
+				if time < ignore_before:
+					continue
 				list.append('<log')
 				list.append(' code="' + str(code) + '"')
 				list.append(' time="' + str(time) + '"')
