PHP 8.5.2
Preview: apport Size: 376 B
/etc/cron.daily/apport

#!/bin/sh -e
# clean all crash reports which are older than a week.
[ -d /var/crash ] || exit 0
find /var/crash/. ! -name . -prune -type f \( \( -size 0 -a \! -name '*.upload*' -a \! -name '*.drkonqi*' \) -o -mtime +7 \) -exec rm -f -- '{}' \;
find /var/crash/. ! -name . -prune -type d -regextype posix-extended -regex '.*/[0-9]{12}$' \( -mtime +7 \) -exec rm -Rf -- '{}' \;

Directory Contents

Dirs: 0 × Files: 8

Name Size Perms Modified Actions
102 B lrw-r--r-- 2024-03-31 00:06:27
Edit Download
376 B lrwxr-xr-x 2025-07-08 14:50:50
Edit Download
1.44 KB lrwxr-xr-x 2024-03-22 10:11:44
Edit Download
253 B lrwxr-xr-x 2023-08-29 11:43:08
Edit Download
595 B lrwxr-xr-x 2020-02-25 13:42:28
Edit Download
123 B lrwxr-xr-x 2024-02-05 02:31:16
Edit Download
1.36 KB lrwxr-xr-x 2024-03-29 19:33:19
Edit Download
518 B lrwxr-xr-x 2024-01-09 20:31:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).