Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
63dd4f2e
Commit
63dd4f2e
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update check for cron status
parent
6b8dda1d
No related branches found
No related tags found
1 merge request
!267
Update docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/20_Checks/check_cronstatus.md
+9
-18
9 additions, 18 deletions
docs/20_Checks/check_cronstatus.md
with
9 additions
and
18 deletions
docs/20_Checks/check_cronstatus.md
+
9
−
18
View file @
63dd4f2e
...
@@ -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
```
t
e
xt
```
txt
______________________________________________________________________
______________________________________________________________________
CHECK_CRONSTATUS
CHECK_CRONSTATUS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment