Reviewer reminders double emails

Hello all,

We’re having some issues with the reviewer reminders: they’re being sent two or three times for each review assignment that’s due. Does anyone have any clues as to why?

Thanks,
Pedro Natário

What version of OJS are you using?

Do the reminders leave all at once?

How do you run your scheduled tasks? Do you use acron or a cron job?

Hi ajnyga,

We’re using OJS 2.4.8

Yes they all leave at once, even though the access key is different, so it looks like the code is being run multiple times, even though there’s a check for it not to!

It’s a cron job configured on HostGator’s CPanel

Thanks

ok, I have to say helping with OJS2 is a bit complicated for me since I have no installations running on it.

I remember doing a lot of fixes to logic in the reviewReminder in OJS3 last year. But do not recall that this would had been among the problems, not sure.

The only way I can see the reminders leaving multiple time is that this here: ojs/ReviewReminder.inc.php at ojs-stable-2_4_8 · pkp/ojs · GitHub
is returning null.

Or getIncompleteReviewAssignments is returning the same assignment multiple times.

You could try adding some debugging code before line 147 that would print the assignment id and the value for getDateReminded to the error_log.