Hi team
!
There is a way to notify users via email and/or SMS based on a date. For example, if a service expires today and we need to notify the user only once at a certain time, how can I do it?
I have the context of how to send emails from a contact form, but I don’t know how I can do it automatically in Kirby.
For example something similar to the following:
if($service_start_date == $today){
// Function to notify via email
// Code
}
I await your response and help please.
Thank you very much.
Regards!
Things like this are best done via Cron jobs, that run on the server at certain intervals, like once a day for this use case. Check if you provider offers cron jobs.
Hi @texnixe !
Thank you very much for the response and help.
Do you know anything about the following plugin, do you think it can help me solve what I’m looking for?
I have never used the plugin but it should help achieve what you want, although I don’t quite its advantages over cron jobs without the plugin. Maybe it pays off if you have a lot of jobs, or if cron is not available