Re: Notifications and automatic emails

2021-01-28 Thread Stefano
Thank you for the explanation!

ilgrosso wrote
> it seems you've gone quite far with your tests, cool :-)

Indeed, it has been quite smooth so far.


ilgrosso wrote
> In particular, you should check the value set for 
> 
> notificationjob.cronExpression
> 
> from Console under Configuration > Parameters (if not found, go on and
> create it with type String); as explained in the linked docs, ensure to
> set a sensible value for it, as
> 
> 0/20 * * * * ?
> 
> for example.

Classic example of Read The Manual issue, thanks for the pointers. Your
string works like a charm for a 20s update rate.

Stefano

--
Sent from: http://syncope-user.1051894.n5.nabble.com/


Notifications and automatic emails

2021-01-26 Thread Stefano Speretta - LR
 Dear all,
I am trying to set-up automatic emails to users when a new user self registers 
under Syncope. I am running the official apache docker image (2.1.8) under 
Docker-compose as in here: 
https://syncope.apache.org/docs/2.0/getting-started.html#docker-compose-samples

I am running postfix on the host and generating email notifications from the 
core syncope container: I can successfully send emails when users are 
self-created and I go under the notification tasks window and start the task 
manually. Is there a way to automatically start those tasks?

According to this 
(http://syncope-user.1051894.n5.nabble.com/Notifications-td5706516.html), tasks 
should run automatically but in my case this seems not to happen at all 
(checked after 1h and no automatic email was sent). All users, after 
self-create,  go into active state.

Looking in core.log does not lead to any error from NotificationJob (or errors 
in general) so I am not sure I am missing some specific setting. Any idea how 
to solve this?

Thanks,
Stefano


Stefano Speretta
Assistant Professor
 
Delft University of Technology
Aerospace Engineering Faculty
Room 8.20
Kluyverweg 1
2629 HS Delft - The Netherlands
Phone: 0031 (0)15 27 81967