Send notification one hour before your appointment at laravel

In my application, I am trying to do something like this,

When a meeting is scheduled, mail is sent with detailed information. This is already working.

To complement this, I would also like to send mail and a message up to one hour before the meeting.

How can i do this?

Should I calculate the time from meeting_scheduled_time when the meeting data is saved, and then maybe set cron on a schedule? I can’t find an approach to do this, effectively.

+5
source share
1 answer

A year has passed since you asked your question, and now a lot has changed, laravel 5.3 introduced Notifications , which does what you ask for, you can notify in various channels , such as telegram, SMS and also .. however you will need cron jobs as you schedule your notifications.

Hope this helps others :)

0
source

All Articles