From 2ac52819aeb54681a7f2e11fde4ef39dafb8c2b9 Mon Sep 17 00:00:00 2001 From: Martin Berghaus Date: Wed, 9 Apr 2025 17:45:29 +0200 Subject: [PATCH] better explanation of the auto parameter of check.sh --- script/monitor/check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/monitor/check.sh b/script/monitor/check.sh index 8a65dbc..e21ee9b 100755 --- a/script/monitor/check.sh +++ b/script/monitor/check.sh @@ -51,6 +51,8 @@ function usage(){ echo " Executes all checks." echo "- auto " echo " Executes quiet all checks and saves the result in the given out_file." + echo " (e.g. add the following line to crontab: '* * * * * /cis/script/monitor/check.sh auto /var/www/html/check.txt'" + echo " to update the file '/var/www/html/check.txt' every minute as 'check.html' needs it.)" return 0 }