need to know more about the models in order to suggest some code.
but basically, run a job once a day that looks for all events with a date of today+1
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
hello friends, how could I make a cron in laravel that sends an email reminding the user that they have an outstanding visit, this reminder should be one day before the event. Although I have already created the mail, I would need to orient myself in the logic of the date Cheers
suppose you have events table and Event model, and an 'event_at' column
$events = Event::whereDate('event_at',today->addDay())->get();
then iterate over the resulting collection
Please or to participate in this conversation.