[GH-ISSUE #952] Check goes down after one hour #667

Closed
opened 2026-02-25 23:43:13 +03:00 by kerem · 4 comments
Owner

Originally created by @The-Inamati on GitHub (Feb 5, 2024).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/952

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?

Originally created by @The-Inamati on GitHub (Feb 5, 2024). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/952 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](https://github.com/healthchecks/healthchecks/assets/45592340/ebb9887e-55b7-40b1-a320-179d276d57eb) What am I missing?
kerem closed this issue 2026-02-25 23:43:13 +03:00
Author
Owner

@cuu508 commented on GitHub (Feb 5, 2024):

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

<!-- gh-comment-id:1927199907 --> @cuu508 commented on GitHub (Feb 5, 2024): What are the schedule settings (the cron expression and the grace time) for this check?
Author
Owner

@The-Inamati commented on GitHub (Feb 6, 2024):

image

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

<!-- gh-comment-id:1929061015 --> @The-Inamati commented on GitHub (Feb 6, 2024): ![image](https://github.com/healthchecks/healthchecks/assets/45592340/88183ceb-4c3f-4090-a6b8-7d9f432afd9c) The ones that work are the same but with a different hour.
Author
Owner

@The-Inamati commented on GitHub (Feb 6, 2024):

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.

<!-- gh-comment-id:1929066885 --> @The-Inamati commented on GitHub (Feb 6, 2024): 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.
Author
Owner

@The-Inamati commented on GitHub (Feb 7, 2024):

Yep. It was the script start up time. Idiot mistake. Thanks for the help.

<!-- gh-comment-id:1931552293 --> @The-Inamati commented on GitHub (Feb 7, 2024): Yep. It was the script start up time. Idiot mistake. Thanks for the help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#667
No description provided.