This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi,
I developed a plugin to store products expiry date, I want OctoberCMS to send email notification when the products is close to expiry date (Month left to expire, Week left to expire)
How can I accomplish that? should I use crontab to monitor the date?
Please advice,
bashar.ayyash said:
Hi,
I developed a plugin to store products expiry date, I want OctoberCMS to send email notification when the products is close to expiry date (Month left to expire, Week left to expire)
How can I accomplish that? should I use crontab to monitor the date?
Please advice,
You're looking for task scheduling. Docs can be found here. You'll also want to use an event and listener for the email to send off when the logic for your expiry is satisfied.
1-2 of 2