Hi, It happened again. In the logging I see: 16:04:00.016 DEBUG org.apache.syncope.core.scheduling.NotificationJob - Waking up... 16:04:00.017 DEBUG org.apache.syncope.core.scheduling.NotificationJob - Found notification task NotificationTask[67] to be executed: starting... 16:04:00.019 DEBUG org.apache.syncope.core.scheduling.NotificationJob - SMTP details fetched: localhost:25 / :[PASSWORD_NOT_SHOWN] 16:04:00.019 DEBUG org.apache.syncope.core.scheduling.NotificationJob - About to send e-mails: <mail stuff> 16:04:00.066 DEBUG org.apache.syncope.core.scheduling.NotificationJob - Notification task NotificationTask[67] executed 16:04:00.066 DEBUG org.apache.syncope.core.scheduling.NotificationJob - Sleeping again...
When I look at Task 67 in the syncopeDB Task table: '67', 'SENT', 'NotificationTask', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '<mail stuff>'', 'NONE' So in the DB I have SENT. In console as well. However after 2 minutes a new mail is sent. Any ideas? Is there caching that could cause that behaviour? Bob On 5 July 2012 16:04, Francesco Chicchiriccò <[email protected]> wrote: > On 05/07/2012 15:04, Bob Lannoy wrote: >> Hi guys, >> >> I've sometimes had a problem with notification mails being sent every >> two minutes. >> It doesn't happen very often so it's hard to track the cause. >> What I see in console is that the mail has been SENT and also in the >> DB in the task table it has the SENT status. >> The notification loop stops when I delete that task. >> >> Anyone experience a similar issue? > > Hi Bob, > just some items to help you understanding what's happening and possibly > how to make it reproducible (in order to fix it). > > * the NotificationJob runs by default every 2 minutes > * the NotificationJob searches for NotificationTask items with > latestExecStatus as NULL > * the NotificationJob executes each of such NotificationTask items (i.e. > send out e-mails) > > Hope this helps. > Regards. > > -- > Francesco Chicchiriccò > > ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member > http://people.apache.org/~ilgrosso/ >
