> Where exactly is the time to purge old log data stored, so that we can modified it?
stored as a serialized array in piwik_option table, see the record "TaskScheduler.timetable"
stored as a serialized array in piwik_option table, see the record "TaskScheduler.timetable"