You are not logged in.
Right now it appears that if I delete, update or change in anyway a scheduled report, all the recipients of the report get a notification. Is there a way to change it so that only the person who scheduled the report gets notified of changes?
I looked in scheduler.cf, but I wasn't sure what I would need to change.
Offline
Note also, that we would want users to get notification if a scheduled report failed, just not when they are scheduled, updated or deleted.
Offline
Hi bpeikes,
what you can do is to disable all notifications. For this change the scheduler.cf configuration file (in etc/scheduler) and set
...
<notification disabled="true" html="false">
...
You could then implement a custom notification routine by writing a script that implements the hooks net.datenwerke.scheduler.service.scheduler.hooks.SchedulerInfoHook and net.datenwerke.scheduler.service.scheduler.hooks.SchedulerInfoHook. If you go this route take a look at net.datenwerke.rs.incubator.service.schedulernotification.SchedulerNotificationHooker which contains the logic for the current notifications.
Cheers,
Arno
Offline
That's not ideal, and adding hooks seems way to complicated. Would be great if the disabled attribute could be applied to any section under notification. Another solution would be to be able to specify who receives the notification
i.e. recipient, owner, all or by OU/UserGroup
Offline
Great help. thank you!
Offline
Bringing this thread back from the dead as I have the same requirement and there appears to still be no solution.
It seems like the default behavior is to send all scheduler emails to all recipients of the scheduler job (${recipients}).
There does not seem to be a way to modify the recipients, for example to send <fileactionEmailDatasink> to ${owners}.
Last edited by danco (2022-03-15 16:15:47)
Offline
Also, <notification> jobs cannot be disabled by type, for example disabling <scheduled>
Offline
Hi danco,
yes, you are right, currently this is not supported.
Regards,
Eduardo
Offline
Hi danco,
yes, you are right, currently this is not supported.
Regards,
Eduardo
Hi Eduardo, thanks for confirming.
Offline