[GH-ISSUE #448] Support multiple schedules #339

Closed
opened 2026-02-25 23:42:05 +03:00 by kerem · 3 comments
Owner

Originally created by @adepertat on GitHub (Nov 12, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/448

The cron syntax is very nice, but what if I need to check for something running at 12:00 and 17:30 ? AFAIK this can't be done with the regular cron syntax and in a crontab I would have two lines. A solution would be to have mutiple schedules enabled for one check.

Great software by the way, very easy and useful.

Originally created by @adepertat on GitHub (Nov 12, 2020). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/448 The cron syntax is very nice, but what if I need to check for something running at 12:00 and 17:30 ? AFAIK this can't be done with the regular cron syntax and in a crontab I would have two lines. A solution would be to have mutiple schedules enabled for one check. Great software by the way, very easy and useful.
kerem 2026-02-25 23:42:05 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@tikeyknax commented on GitHub (Feb 26, 2022):

I would also love to see this additional feature. For some tasks, I have different schedules during the week and on the weekend. It would be great if these different schedules could be set up for the same job.
For automatic pings, it would be possible to just set up several jobs. Even though this would have the disadvantage that not all the information about the same job is at one place, it would be somehow possible. However, I have some tasks where the pings can also be triggered manually. For those, setting up several jobs would mean that one also has to know exactly which ping to trigger.

So it would be really nice if there was a "add schedule" button with which one could just add several "cron like" lines with different schedules and different grace periods for the same job.

<!-- gh-comment-id:1051899323 --> @tikeyknax commented on GitHub (Feb 26, 2022): I would also love to see this additional feature. For some tasks, I have different schedules during the week and on the weekend. It would be great if these different schedules could be set up for the same job. For automatic pings, it would be possible to just set up several jobs. Even though this would have the disadvantage that not all the information about the same job is at one place, it would be somehow possible. However, I have some tasks where the pings can also be triggered manually. For those, setting up several jobs would mean that one also has to know exactly which ping to trigger. So it would be really nice if there was a "add schedule" button with which one could just add several "cron like" lines with different schedules and different grace periods for the same job.
Author
Owner

@msdos commented on GitHub (May 6, 2022):

AFAIK this can't be done with the regular cron syntax

What about https://stackoverflow.com/questions/11914445/run-a-cron-job-every-minute-only-on-specific-hours?

For example:

It will only check every minute from 11AM to 12AM, 4PM to 5PM and 9PM to 10PM

* 11,16,21 * * *

<!-- gh-comment-id:1119164057 --> @msdos commented on GitHub (May 6, 2022): > AFAIK this can't be done with the regular cron syntax What about https://stackoverflow.com/questions/11914445/run-a-cron-job-every-minute-only-on-specific-hours? For example: > It will only check every minute from 11AM to 12AM, 4PM to 5PM and 9PM to 10PM `* 11,16,21 * * *`
Author
Owner

@cuu508 commented on GitHub (Jan 22, 2024):

This is now possible with OnCalendar schedules: https://blog.healthchecks.io/2023/12/oncalendar-schedules-monitor-systemd-timers-with-healthchecks-io/

<!-- gh-comment-id:1903602991 --> @cuu508 commented on GitHub (Jan 22, 2024): This is now possible with OnCalendar schedules: https://blog.healthchecks.io/2023/12/oncalendar-schedules-monitor-systemd-timers-with-healthchecks-io/
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#339
No description provided.