Dear Claudia,

thanks for this tip. I forgot about this option. We want notifications for all 
items, including the modified ones.  We do not mind that we get multiple 
notifications for an item, e.g. at the time the item is submitted, and some 
weeks later when the item is modified. That is part of our process. What is 
strange is that whenever we submit a new item or modify one, we get 
notifications on at least 2 consecutive days, even when we did not manually 
modify the item. 

The following is the case.
- We simply copied the timing for the cronjob from the installation manual. The 
example schedules the subscription job at 1 AM and the filter-media one hour 
later at 2AM.

- When a new item is submitted anytime before 1 AM, emails are sent out the 
following day, due to the subscription cronjob at 1AM. (as expected)
- At 2 AM, the filter media cronjob adds the extracted text bitstream and and I 
assume that filter media changes the last modified date to 2AM that day.
- So, at 1AM the following day, another subscription email is sent out. Of 
course for the subscription cronjob this is a modified item. To our users it is 
not, because seemingly the item is exactly the same as before.
We could remedy this by switching the order of the cronjobs, because for our 
users this second notification . And maybe this could be changed in the manual 
as well.

However, we also get 2 subscription emails after we manually modify an item. I 
understand why that would happen, because of the media-filter,  when we change 
any of the bitstreams, but that hardly happens. But most of the time the 
modification is a correction of the metadata and I assume that media-filter 
than just skips the item and does not update the last-modified date.

Best wishes,
Francis Brouns

________________________________________
From: Claudia Jürgen [[email protected]]
Sent: 13 September 2010 16:16
To: [email protected]
Subject: Re: [Dspace-tech] Timing subscription email cronjob

Hello Francis,

the subscription emails will include all modified items. You can disable
this by setting eperson.subscription.onlynew to false in the dspace.cfg,
see:

# For backwards compatability, the subscription emails by default
include any modified items
# uncomment the following entry for only new items to be emailed
# eperson.subscription.onlynew = true


Hope that helps

Claudia Jürgen


Am 13.09.2010 11:25, schrieb Brouns, Francis:
> Hi all,
>
> For some time now, we have been getting subscription emails for new and 
> modified items on at least two (sometimes three) consecutive days. This 
> happened on our previous Dspace 1.4.2 server, but is still happening after we 
> migrated to Dspace 1.5.2. I assume that has to day with the time the various 
> cronjobs are running. We copied these from the manual, where the 
> daily-subscription cronjob is running at 1 AM and the media-filter at 2 AM. 
> Am I correct in assuming that the media-filter process changes the 
> last-modified date, and that is why the subscription emails are sent out 
> again the following day?
>
> Best wishes,
> Francis Brouns
> Open Universiteit Nederland
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to