better explanation of the auto parameter of check.sh

This commit is contained in:
Martin Berghaus
2025-04-09 17:45:29 +02:00
parent 6db70ed434
commit 2ac52819ae

View File

@@ -51,6 +51,8 @@ function usage(){
echo " Executes all checks." echo " Executes all checks."
echo "- auto <out_file>" echo "- auto <out_file>"
echo " Executes quiet all checks and saves the result in the given out_file." 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 return 0
} }