Retention and Cleanup
RUSEON Core includes a built-in scheduler that automatically purges old recordings to free up disk space.
Schedule
The cleanup routine runs every 1 hour.
Configuration
Retention is controlled at two levels:
- Global: Defined by
server.record_retention_days. - Per-Camera: Can be overridden using
camera.retention_days(if set > 0).
Deletion Logic
Files are deleted based on their filesystem ModTime (Modification Time), rather than parsing the filename. This ensures accuracy and allows the OS to correctly report when the file was last written.