Notification trigger when scheduled task fails
What problem will this feature address?
I'd like to be able to receive a notification when a scheduled task fails. This would allow me to quickly see via Discord if any errors occurred without the need for me to manually check each task periodically.
Describe the solution you'd like
Add a new 'action' to the notification screen for 'Scheduled task error'. Which would have a description along the lines of 'Trigger the action when a scheduled task fails'.
If a task fails, the notification would include the timestamp, related project/service, and the name of the scheduled task.
Describe alternatives you've considered
None.
Additional context
No response
Will you send a PR to implement it?
No
We need this very much as well. In general, schedules are still missing multiple features to be complete:
- Add them to the notification system, so that we can control whether a notification should be sent if the schedule has been successful or not.
- A global view of all the schedules across services and remote servers, so that we can see: the last time a schedule was executed (with its status), access the history of N last runs and possibly when the next schedule will be executed.
Hello! I wanted to check if there’s been any update on this. I’m very interested in this feature. 🙌
Bump Bump Bump
This will likely be more intressting then just failure only. I've been waiting for this feature since the day this issue is created. I wish @Siumauricio would see this.
We need this very much as well. In general, schedules are still missing multiple features to be complete:
- Add them to the notification system, so that we can control whether a notification should be sent if the schedule has been successful or not.
- A global view of all the schedules across services and remote servers, so that we can see: the last time a schedule was executed (with its status), access the history of N last runs and possibly when the next schedule will be executed.
Same request as #4210, where I've just proposed a concrete design (new scheduleJobFailed notification event, exit code via #5168). Let's continue there.