This file is indexed.

/etc/cron.daily/sitesummary is in sitesummary 0.1.17+deb8u3.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
#
# Author: Petter Reinholdtsen

set -e

daylimit=120
makewebreport=/usr/sbin/sitesummary-makewebreport
nodes=/usr/sbin/sitesummary-nodes

[ -f /etc/sitesummary/collector.cfg ] && . /etc/sitesummary/collector.cfg

# Exit imediately if the package is removed but nor purged
if [ ! -x $nodes ] ; then
    exit 0
fi

# The storage area is not configurable, because too many scripts have
# it hardcoded
entriesdir=/var/lib/sitesummary/entries

remove_old_entries() {
    find $entriesdir/. -mindepth 1 -maxdepth 1 -type d \
	-daystart -mtime +$daylimit \
	-exec /usr/lib/sitesummary/expire-entry '{}' \;
}

[ -d $entriesdir ] && remove_old_entries

if [ -x /usr/sbin/sitesummary-update-nagios ] ; then
    /usr/sbin/sitesummary-update-nagios
fi

if [ -x /usr/sbin/sitesummary-update-munin ] ; then
    /usr/sbin/sitesummary-update-munin
fi

# Update the web report once a day
[ -x $makewebreport ] && nice $makewebreport