uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

Add a cron monitore

Open Dryusdan opened this issue 2 years ago • 4 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor, UI Feature

🔖 Feature description

To monitore cron, it's easier to send OK/NOK with curl (like healthcheck.io) or if cron don't execute after specific time it raise an alert.

I see push monitore and I think it can have a little improvement : set Heartbeat interval in second or cron execution format.

For exemple I want to monitore a cron who execute each monday at 3AM, I can define 604800 in interval, or define 0 3 * * 1 in interface to monitore the cron

✔️ Solution

Add in push monitor a way to select interval or cron execution time format.

❓ Alternatives

Healtcheck.io can work (it work) but multiplying the tools can be a bit of a headache

📝 Additional Context

No response

Dryusdan avatar Apr 12 '22 13:04 Dryusdan

I don't think this will be a thing for uptime kuma. Its more for web things like websites, dns records and so one but not for cronjobs.

mathiskir avatar Apr 23 '22 18:04 mathiskir

I think this is a great idea. I don't see why uptime-kuma couldn't be used to monitor cronjobs, it would do the job just fine.

If there are push monitors, why not time range push.

Eidenz avatar May 02 '22 12:05 Eidenz

That's what I think too. The time interval alone is not sufficient for monitoring the status of the task.

Seele0oO avatar Jun 25 '22 04:06 Seele0oO

It would be great to have an api that would allow to send POSTs to know if our cronjob was successful or not.

A bit like betteruptime does

HujinoKun avatar Jul 21 '22 18:07 HujinoKun