From f0470b12006ad22ea037540678e59b08119cd26b Mon Sep 17 00:00:00 2001 From: Charles Wyble Date: Sun, 21 Apr 2019 12:33:48 -0500 Subject: [PATCH] stuff --- slack/prod/tsys-base/files/etc/cron.d/sysstat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 slack/prod/tsys-base/files/etc/cron.d/sysstat diff --git a/slack/prod/tsys-base/files/etc/cron.d/sysstat b/slack/prod/tsys-base/files/etc/cron.d/sysstat new file mode 100644 index 0000000..8323ffe --- /dev/null +++ b/slack/prod/tsys-base/files/etc/cron.d/sysstat @@ -0,0 +1,11 @@ + The first element of the path is a directory where the debian-sa1 +# script is located +PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin + +# Activity reports every 10 minutes everyday +*/2 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1 + +# Additional run at 23:59 to rotate the statistics file +59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2 + +