░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
server.ktm001.com
LOCATION:
/etc/cron.daily
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: ossec_logs_cleaner
#!/usr/bin/bash # -delete option implicitly uses -depth, which traverse folders with DFS # (beginning with folder's content, ending with folder itself) # so, if old folder contains old files, "directory is not empty" error won't happen. # Old folder may not be deleted only if contains recently modified files su -s /bin/bash ossec -c 'find -P /var/ossec/logs/{alerts/*,archives/*,firewall/*} -xdev -mtime +2 -not -name alerts.json -delete' >/dev/null 2>&1 exit 0
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 cloudlinux-backup-utils
?
805 B
2026-09-03 10:05
EDIT
📄 imunify-antivirus.cron
CRON
2.3 KB
2026-08-05 11:19
EDIT
📄 imunify360.cron
CRON
2.4 KB
2026-08-21 20:04
EDIT
📄 ossec_logs_cleaner
?
464 B
2026-06-01 10:55
EDIT