Re: Notifications and automatic emails
On 28/01/21 10:36, Stefano wrote: > 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. Glad to hear that it worked! Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/
Re: Notifications and automatic emails
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/
Re: Notifications and automatic emails
Hi Stefano, it seems you've gone quite far with your tests, cool :-) For background information, please have a look at http://syncope.apache.org/docs/2.1/reference-guide.html#notifications http://syncope.apache.org/docs/2.1/reference-guide.html#e-mail-configuration 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. HTH Regards. On 2021/01/26 17:35:50, Stefano Speretta - LR wrote: > 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 > >
Notifications and automatic emails
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