[GH-ISSUE #281] Support schedules such as every 85 minutes #211

Closed
opened 2026-02-25 23:41:37 +03:00 by kerem · 6 comments
Owner

Originally created by @baragona on GitHub (Aug 27, 2019).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/281

We can set schedules with granularity every minute, up to 60 minutes, then the granularity is 1 hour... So we can't set schedules such as every 80 minutes.

Originally created by @baragona on GitHub (Aug 27, 2019). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/281 We can set schedules with granularity every minute, up to 60 minutes, then the granularity is 1 hour... So we can't set schedules such as every 80 minutes.
kerem 2026-02-25 23:41:37 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@jesse-holden commented on GitHub (Nov 2, 2019):

You can already achieve granularity by creating/updating checks via API, you can supply the schedules with intervals accurate to the second.

<!-- gh-comment-id:549071038 --> @jesse-holden commented on GitHub (Nov 2, 2019): You can already achieve granularity by creating/updating checks via API, you can supply the schedules with intervals accurate to the second.
Author
Owner

@cuu508 commented on GitHub (Feb 12, 2021):

UI suggestions from @peternlewis on twitter:

maybe just something between the sliders and cron that just lets me enter the number of days/hours for each as numbers. Or maybe in the slider window, a text field, so changing the slider changes the number, but changing the number also works (and changes the slider).

<!-- gh-comment-id:778182826 --> @cuu508 commented on GitHub (Feb 12, 2021): UI suggestions [from @peternlewis on twitter](https://twitter.com/peternlewis/status/1360029641663160320): > maybe just something between the sliders and cron that just lets me enter the number of days/hours for each as numbers. Or maybe in the slider window, a text field, so changing the slider changes the number, but changing the number also works (and changes the slider).
Author
Owner

@cuu508 commented on GitHub (Nov 3, 2021):

I'm experimenting with UI ideas and considering this one:

image

Next to the "Period" label there is now an input box. Moving the slider updates the value in the input box. Editing text in the input box updates the slider. The slider range is extended to 365 days so the slider can display something approximately correct when the user enters "60 days" or "90 days". It is not explained in the UI, but the text box would accept three formats:

  • "[number] minutes"
  • "[number] hours"
  • "[number] days"

"60 days" and "86400 minutes" would be equivalent inputs.

PS. In the screenshot, the "Grace Time" section is not updated yet. It would be updated to look and work the same as the "Period" section.

<!-- gh-comment-id:959238101 --> @cuu508 commented on GitHub (Nov 3, 2021): I'm experimenting with UI ideas and considering this one: ![image](https://user-images.githubusercontent.com/661859/140078532-a0fb2b6c-fb92-4709-b753-47d786b13599.png) Next to the "Period" label there is now an input box. Moving the slider updates the value in the input box. Editing text in the input box updates the slider. The slider range is extended to 365 days so the slider can display something approximately correct when the user enters "60 days" or "90 days". It is not explained in the UI, but the text box would accept three formats: * "[number] minutes" * "[number] hours" * "[number] days" "60 days" and "86400 minutes" would be equivalent inputs. PS. In the screenshot, the "Grace Time" section is not updated yet. It would be updated to look and work the same as the "Period" section.
Author
Owner

@cuu508 commented on GitHub (Nov 3, 2021):

One part I'm not sure about is the "[number] minutes|hours|days" special syntax. It would need to be documented somewhere, there would be corner cases, and user errors. A more structured alternative:

image

The user can enter a number, and select minutes / hours / days from the dropdown. This would prevent invalid inputs like "2 months" but would still allow "85 minutes" or "60 days".

<!-- gh-comment-id:959284611 --> @cuu508 commented on GitHub (Nov 3, 2021): One part I'm not sure about is the "[number] minutes|hours|days" special syntax. It would need to be documented somewhere, there would be corner cases, and user errors. A more structured alternative: ![image](https://user-images.githubusercontent.com/661859/140081440-7b099770-383c-4d7f-bae3-94a6d99a6b43.png) The user can enter a number, and select minutes / hours / days from the dropdown. This would prevent invalid inputs like "2 months" but would still allow "85 minutes" or "60 days".
Author
Owner

@baragona commented on GitHub (Nov 4, 2021):

I like the dropdown a lot.

<!-- gh-comment-id:960638755 --> @baragona commented on GitHub (Nov 4, 2021): I like the dropdown a lot.
Author
Owner

@cuu508 commented on GitHub (Nov 4, 2021):

I've implemented the initial version, also available on the hosted service now.

For the minutes / hours / days selector I went with the standard <select> element. Better accessibility and cleaner code compared to bootstrap dropdown.

image

<!-- gh-comment-id:961050196 --> @cuu508 commented on GitHub (Nov 4, 2021): I've implemented the initial version, also available on the hosted service now. For the minutes / hours / days selector I went with the standard `<select>` element. Better accessibility and cleaner code compared to bootstrap dropdown. ![image](https://user-images.githubusercontent.com/661859/140331544-d92713fb-4cf1-4c3b-abc8-88cb5297600c.png)
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#211
No description provided.