Also retain the interval over restarts by storing last GC time in the database. This to make sure that GC eventually happens even if the interval is configured to a long time (say, a month).