Skip to content
Snippets Groups Projects
Commit 63dd4f2e authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update check for cron status

parent 6b8dda1d
No related branches found
No related tags found
1 merge request!267Update docs
...@@ -4,16 +4,6 @@ ...@@ -4,16 +4,6 @@
Show status of all Cronjobs using Axels Cronwrapper 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. `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: 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 ...@@ -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. As output you get a summary of all checks followed by more detailed status per job.
## Syntax ## Requirements
`$ check_cronstatus [-h]` * The cronwrapper must be installed
* Your cronjob(s) must be changed to use the wrapper, eg.\
or `*/60 * * * * /opt/cronwrappre.sh 60 <YOUR_COMMAND>`
`$ check_cronstatus [SCRIPT]`
📄 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 CHECK_CRONSTATUS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment