I am using the whenever gem, to handle my cron jobs. I have an events and bookings rails application where I have an events and a bookings table.
I want to send out a mailer, with all the bookings for an event to the event organizer an hour or so before the event's start time. But I am not able to find a way to that with the whenever gem.
Currently, I am just sending out all mailers at 9pm, and that works perfectly, but I that doesn't serve my use case, since different event organizers require it at different times