/
etc
/
cron.daily
/
/etc/cron.daily
mkdir
upload
Name
Size
Mode
Actions
.placeholder
102
0644
edit
dl
rm
apport
376
0755
edit
dl
rm
apt-compat
1478
0755
edit
dl
rm
dpkg
123
0755
edit
dl
rm
logrotate
377
0755
edit
dl
rm
man-db
1395
0755
edit
dl
rm
sysstat
518
0755
edit
dl
rm
Edit:
/etc/cron.daily/sysstat
(518B)
#!/bin/sh # Generate a daily summary of process accounting. Since this will probably # get kicked off in the morning, it is run against the previous day data. set -e # Our configuration file DEFAULT=/etc/default/sysstat # Default settings, overridden in the above file ENABLED=false # Skip in favour of systemd timer [ ! -d /run/systemd/system ] || exit 0 [ -x /usr/lib/sysstat/sa2 ] || exit 0 # Read our config [ -r "$DEFAULT" ] && . "$DEFAULT" [ "$ENABLED" = "true" ] || exit 0 exec /usr/lib/sysstat/sa2 -A
Save
cmd:
run