#1 2016-11-14 16:00:50

bpeikes
Member
Registered: 2016-10-29

Change notification of schedule changes

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

#2 2016-11-14 16:06:57

bpeikes
Member
Registered: 2016-10-29

Re: Change notification of schedule changes

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

#3 2016-11-15 08:48:15

Arno Mittelbach
datenwerke
Registered: 2012-02-14

Re: Change notification of schedule changes

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

#4 2016-11-15 20:45:46

bpeikes
Member
Registered: 2016-10-29

Re: Change notification of schedule changes

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

#5 2016-12-05 19:27:45

jsteigerwalt@safestreets.
Member
Registered: 2016-12-05

Re: Change notification of schedule changes

Great help.  thank you!

Offline

#6 2022-03-15 10:34:31

danco
Member
Registered: 2022-03-02

Re: Change notification of schedule changes

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

#7 2022-03-15 16:17:57

danco
Member
Registered: 2022-03-02

Re: Change notification of schedule changes

Also, <notification> jobs cannot be disabled by type, for example disabling <scheduled>

Offline

#8 2022-03-21 09:30:56

eduardo
Administrator
Registered: 2016-11-01
Website

Re: Change notification of schedule changes

Hi danco,

yes, you are right, currently this is not supported.

Regards,
Eduardo

Offline

#9 2022-03-21 10:19:25

danco
Member
Registered: 2022-03-02

Re: Change notification of schedule changes

eduardo wrote:

Hi danco,

yes, you are right, currently this is not supported.

Regards,
Eduardo


Hi Eduardo, thanks for confirming.

Offline

Board footer

Powered by FluxBB