I also have the same scheduled trimming task,
Code:
1 0 * * * /jffs/scripts/uiDivStats trimdb #uiDivStats_trim#
Observing the logs from the early morning, I noticed the following:
Code:
Nov 23 01:00:00 GT-AX6000-0FC8 uiDivStats: Stale lock file found (>600 seconds old) - purging lock
Nov 23 01:00:00 GT-AX6000-0FC8 uiDivStats: Starting stat update
Nov 23 01:01:46 GT-AX6000-0FC8 uiDivStats: Stats updated successfully
This log message indicates that during the execution of the scheduled trimming task, a stale lock file was detected, and the file has been present for more than 600 seconds. This could be a warning sign indicating a potential issue.
I wonder if there's any way to avoid this situation? For example, by adjusting the frequency and timing of the trimming process, or using SQLite3 commands to trim and retain information for only one day?