Check goes down after one hour
The-Inamati opened this issue · comments
Hello,
I am having a very strange issue with healthchecks.
I have three backup scripts that run daily and do a curl in the beggining and the end so I can also measure execution time.
Two of them I have no issues with but one of them is misbehaving in a very strange way. The issue goes as follows:
- Script starts and the first curl is done
- Healthchecks gets the curls and starts counting time
- Script ends the second curl is sent
- Healthchecks gets the second curl, posts execution time
- One hour later the check goes down with no other curls received or sent
You can see a print of the last two days below.
What am I missing?
What are the schedule settings (the cron expression and the grace time) for this check?
I just noticed that the script is starting at the wrong time. That's probably the issue. I have adjusted the service file and will check tonight if it works.
Yep. It was the script start up time. Idiot mistake. Thanks for the help.