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

feature request: notify hanging up scheduler tasks #229

Open
davdenic opened this issue Aug 7, 2020 · 1 comment
Open

feature request: notify hanging up scheduler tasks #229

davdenic opened this issue Aug 7, 2020 · 1 comment

Comments

@davdenic
Copy link

davdenic commented Aug 7, 2020

Hi
I'm trying to get notified when a scheduler task is hanging up for too much time. The task didn't fail or success so i cannot get notified out-of-the-box with NotiZ.
It could be nice to have a way to check if a task is in late after a certain amount of time.
What do you think?

Another question: do you have any plan for version 10?

Thank you very much.

@romm
Copy link
Member

romm commented Aug 15, 2020

Hello @davdenic,

Honestly I think it shouldn't be the job of this library to have a scheduler “timeout” feature. My best advice would be to implement it by yourself, and use a custom event to bind it to the notification system (see documentation and SchedulerTaskWasExecutedEvent as an example).

If you manage to implement it, don't hesitate to publish a custom extension for it and we might add it to the doc as an external possible library that NotiZ can hook on. 😉

For v10, I'm currently working on it. What takes so long is that I want to remove the external dependency to EXT:configuration_object, which is an old and not performant way of manipulating configuration. I've been working lately on a standalone version of this package, which will be much more stable, performant, more bug-free and decoupled from TYPO3 (easing future updates). The only drawback though: it will almost certainly require PHP 7.4. I hope it won't be a problem for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants