Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a cron monitore #1482

Open
1 task done
Dryusdan opened this issue Apr 12, 2022 · 7 comments · May be fixed by #3447
Open
1 task done

Add a cron monitore #1482

Dryusdan opened this issue Apr 12, 2022 · 7 comments · May be fixed by #3447
Labels
area:monitor Everything related to monitors feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor

Comments

@Dryusdan
Copy link

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

  • 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 Dryusdan added the feature-request Request for new features to be added label Apr 12, 2022
@mathiskir
Copy link
Contributor

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.

@Eidenz
Copy link

Eidenz commented May 2, 2022

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.

@Seele0oO
Copy link

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

@HujinoKun
Copy link

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

@CommanderStorm CommanderStorm added the area:monitor Everything related to monitors label Dec 5, 2023
@CommanderStorm CommanderStorm added the type:enhance-existing feature wants to enhance existing monitor label Feb 17, 2024
@Haelle

This comment was marked as spam.

@hypery2k
Copy link

I'm also interested in this functionality, similiar to what cronitor does: https://cronitor.io/cron-job-monitoring

I the feature itself would be interesting, I'm willing to create a PR for that

@CommanderStorm
Copy link
Collaborator

Changing the monitor sheduler is a lot of work.
Current plan is here if you want to contribute to this PR (via targeting the queue instead of the master branch):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants