dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Notification trigger when scheduled task fails

Open jmwhitworth opened this issue 1 year ago • 5 comments

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

jmwhitworth avatar Jun 28 '25 20:06 jmwhitworth

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.

yergom avatar Oct 21 '25 14:10 yergom

Hello! I wanted to check if there’s been any update on this. I’m very interested in this feature. 🙌

NuriaROrquin avatar Oct 31 '25 14:10 NuriaROrquin

Bump Bump Bump

Beyotek avatar Dec 15 '25 15:12 Beyotek

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.

magixus avatar Jun 18 '26 13:06 magixus

Same request as #4210, where I've just proposed a concrete design (new scheduleJobFailed notification event, exit code via #5168). Let's continue there.

Pabloct17 avatar Nov 06 '26 18:11 Pabloct17