We’re having a problem with the review reminders (the automatic ones): they are never sent.
We tried to see if the problem lied in the configuration of the emails, but every other email was being sent with no problem whatsoever.
We also tried to activate the One_Click option, but nothing changed. We deactivated it again. Nothing.
I presume you enabled scheduled_tasks in config.inc.php. Have you reviewed the “Scheduled Tasks” area of docs/README? There are additional requirements.
Regards,
Alec Smecher
Public Knowledge Project Team
That looks OK to me at a glance, but there are any number of reasons it might not be working – file permissions, location of your PHP binary, etc., etc. I would suggest trying to run the script manually (e.g. through a SSH session). If that kicks off delivery, then you know OJS is working OK, and something must be wrong with the cron job setup.
Regards,
Alec Smecher
Public Knowledge Project Team
As you can see with @apr answer, we tried the suggestions you made and everything you mentioned is working (running the script manually and the cron job setup - both worked fine and with no errors).
When you say that running the script worked fine and without errors, do you mean that the emails were sent? Or that the script appeared to execute, but no messages were sent?
Regards,
Alec Smecher
Public Knowledge Project Team
That looks OK – the last_run date is getting set. By the fact that it ran at 00:00, it looks like the Cron job did it.
The next thing to check is whether any of your review assignments are flagged as having had automated reminders sent. Can you run the following in your database?
SELECT review_id, date_reminded, reminder_was_automatic FROM review_assignments WHERE reminder_was_automatic=1;
Regards,
Alec Smecher
Public Knowledge Project Team
We’re supposed to have a review due tomorrow, and last week I postponed some of the due dates of the reviews to 30 september, so we could have time to implement whatever changes needed to be done in order to make this work. Even so, I believe that is not the point.
If you remember Alec, you said that “The next thing to check is whether any of your review assignments are flagged as having had automated reminders sent”, and sent us a piece of code to run in our database, which result was empty. So me and my admin believe this simply means that there were no automated reminders sent. We have a couple reminders sent a few months ago, but they were not automatic, and this is the problem - not if there’s a review that deserves a reminder in our system.
Under the Review tab of the Workflow settings, you can set a number of days after the due date passes after which the reminder will be sent:
Forgive me if I’m not following, but it sounds like this condition has not been met (i.e. the due date hasn’t past plus X number of days, depending on what you have in that settings form), so the reminders haven’t been sent yet.
Regards,
Alec Smecher
Public Knowledge Project Team
I’m more interested in the review assignment than the journal’s configuration. What does the review_assignment row look like for a review you expect to have already resulted in a reminder?
Regards,
Alec Smecher
Public Knowledge Project Team
The review due date is October 1st, and the reminders are configured to be sent a week after the due date. Watch for the review reminder to be sent on the 8th.
Regards,
Alec Smecher
Public Knowledge Project Team
The “Default Review Deadlines” are the only variables that work with “weeks” - and they exist to define the due dates -, but the information regarding the “Automated Email Reminders” works with “days”.
Sorry if I’m misunderstanding something, but October the 1st is already the review due date, and not even the response due (on the previous week) was considered - to the automated reminders.
My admin asked me to send you this table with every date_due and date_response_due:
So, following your line of thought, if we were only to wait until a week or so passed from one date to another, meanwhile a lot of reminders should have been sent and weren’t.