Annual reminder

wardpaul
Forums
Hi All Is there any way of sending a reminder on an annual basis for refresher courses? I am working on a training system that requires this function. If any one can help.
James Aparicio

Hi wardpaul,

Hi wardpaul,

Seems something pretty easy.

First thing would be to define would be : 1 year since what? User was created (user creatino date)? User was added to a course/class (og_membership creation date)?

You can implement hook_cron. There you can check what users needs to be reminded based on your criteria and send an email. When sending an email save in the database the info that the user has been reminded so that next time the cron runs it doesnt remind that user again.

 

Best regards

wardpaul

James

James Thank you I will work on that. Kind Regards