‹ BackHN Continuity

Thread

Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI

81 points · 35 comments · 4815162342

  1. adityamishra241 · · focus · HN ↗
    The pulse idea is neat. How do you handle jobs where the expected runtime is longer than the heartbeat interval?
    1. 4815162342 · · focus · HN ↗
      Good question! There's no such thing as a "running" task/job at the moment (i.e., a start signal). The closest thing is lengthening the grace period, but that also means that the notification is delayed, so it's not really a solution. This is in the backlog.
      1. msupuka · · focus · HN ↗
        The usual fix is a second ping at the start of the job: the schedule check watches the start ping, and a separate “max runtime” check watches the gap between start and finish. You get alerted promptly either way without inflating the grace period.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.