From 63dd4f2ec9135eb10940b7761ef4ab0704a52650 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 7 Jun 2024 10:07:54 +0200 Subject: [PATCH] update check for cron status --- docs/20_Checks/check_cronstatus.md | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/docs/20_Checks/check_cronstatus.md b/docs/20_Checks/check_cronstatus.md index 22f04cf..45a3297 100644 --- a/docs/20_Checks/check_cronstatus.md +++ b/docs/20_Checks/check_cronstatus.md @@ -4,16 +4,6 @@ Show status of all Cronjobs using Axels Cronwrapper -📄 Source: <https://github.com/axelhahn/cronwrapper>\ -📜 License: GNU GPL 3.0\ -📖 Docs: see docs folder or online <https://www.axel-hahn.de/docs/cronwrapper/> - -Pre conditions: - -* The cronwrapper must be installed -* Your cronjob(s) must be changed to use the wrapper, eg.\ - `*/60 * * * * /opt/cronwrappre.sh 60 <YOUR_COMMAND>` - `check_cronstatus` executes the cronstatus.sh in the cronwrapper installation directory and will parse its output. In the cronstatus the last run of each job will be verified with these conditions: @@ -23,18 +13,19 @@ In the cronstatus the last run of each job will be verified with these condition As output you get a summary of all checks followed by more detailed status per job. -## Syntax +## Requirements -`$ check_cronstatus [-h]` - -or - -`$ check_cronstatus [SCRIPT]` +* The cronwrapper must be installed +* Your cronjob(s) must be changed to use the wrapper, eg.\ + `*/60 * * * * /opt/cronwrappre.sh 60 <YOUR_COMMAND>` +📄 Source: <https://github.com/axelhahn/cronwrapper>\ +📜 License: GNU GPL 3.0\ +📖 Docs: see docs folder or online <https://www.axel-hahn.de/docs/cronwrapper/> -### Parameters +## Syntax -```text +```txt ______________________________________________________________________ CHECK_CRONSTATUS -- GitLab