From 81d4dca51c06dbfdb81cea0019e0f8fc9f12802b Mon Sep 17 00:00:00 2001 From: Boris Gallet Date: Tue, 20 Feb 2024 15:03:43 +0100 Subject: [PATCH] new: [send] add cron hourly for disk_usage and load_average_max --- bin/myc-update | 1 - etc/cron.d/alerting | 3 +++ etc/cron.hourly/disk_usage | 38 ++++++++++++++++++++++++++++++++ etc/cron.hourly/load_average_max | 26 ++++++++++++++++++++++ 4 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 etc/cron.d/alerting create mode 100755 etc/cron.hourly/disk_usage create mode 100755 etc/cron.hourly/load_average_max diff --git a/bin/myc-update b/bin/myc-update index 745f385..6b1a0e1 100755 --- a/bin/myc-update +++ b/bin/myc-update @@ -96,7 +96,6 @@ for d in /etc/cron.{d,daily,hourly,monthly,weekly}; do ln -sfn "/opt/apps/myc-manage\$d/"* "\$d/" && find -L "\$d" -maxdepth 1 -type l -ilname "/opt/apps/myc-manage\$d/"\* -delete done -EOF Wrap -d "Updating sysctl scripts" <