Files
ubicloud/rhizome/host/bin/delete-old-serial-logs
Furkan Sahin bfbf33c0ee Add cron job to clean-up serial.log files older than 1hr
We need to clean the serial.log files. This is both a security measure
and a practice to avoid disk full in the host. We take 2 measures:

1. Delete serial.log files if they are older than 1 hr.
2. If the directory is larger than 1 GB, delete files starting from the
largest one until we get to less than 1 GB.
2024-02-13 12:16:36 +01:00

740 B
Executable File