mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 15:05:49 +03:00
[GH-ISSUE #448] Support multiple schedules #339
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.
@msdos commented on GitHub (May 6, 2022):
What about https://stackoverflow.com/questions/11914445/run-a-cron-job-every-minute-only-on-specific-hours?
For example:
* 11,16,21 * * *@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/