healthchecks / healthchecks

Open-source cron job and background task monitoring service, written in Python & Django

Home Page:https://healthchecks.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
image

What am I missing?

What are the schedule settings (the cron expression and the grace time) for this check?

image

The ones that work are the same but with a different hour.

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.