-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User Course Completion Warning (completion_warn_user) not sending #1969
Comments
The enrolment method wont make a difference to this. One thing which could be tripping you up is if you changed this after the initial email was sent out. There is a field in the local_iomad_track table completedstop which controls whether these emails get resent. If they have never been sent - check that your cron is running and that the \local_email_reports\task\course_not_completed_task |
/o @turf212 I've tried running the above command and get the following error, am i missing something with the path here? I can see the file physically at
error: I've tried a few variations on the path including and running it without going through admin/cli/scheduled_task.php but to no avail. Without the admin/cli/scheduled_task.php the error is:
|
@MarkTallentire What version of IOMAD do you have installed? I've tested this locally on latest 4.1, 4.2 and 4.3 and the task can run successfully vi the Site admin -> scheduled tasks page. |
Yes, using 4.2.6. Ok, ignore the previous error, the scheduled tasks are actually running. As confirmed here "Execute scheduled task: Email reports - Course not completed task (local_email_reports\task\course_not_completed_task) Other email templates are sending fine, so it seems we aren't triggering the user_course_completion_warning template, what is the specific criteria to make this trigger? |
If you go to the IOMAD dashboard, courses tab and manage IOMAD course settings. There is an option on that page to send an email if the course is nut completed by X days. You need to turn editing on to change it. You also need to ensure that the course completion warning email template is enabled. |
@turf212 Hi Derick. Thanks for all your help so far. We've now got to the point where we can see the email attempting to send but get the below error in the logs:
Can confirm that the template appears active and the users email etc is all correct. |
I have configured this email User Course Completion Warning (completion_warn_user) to send on a daily basis however it doesnt appear to be working. Users do not receive the email and does not show as sent in the email send reports so presume for whatever reason the email is not being triggered
We are using license based course assignments with instant access and a limited access . Is this the reason? does it only work for courses assigned rather than licenses>>> if so is there another email which will do the same for license based assignments.
The text was updated successfully, but these errors were encountered: