I have some events within WordPress that users can register for. I would like to give access to certain content ON THE DAY of the event.
So, I have 2 possible approaches:
Every time a user registers for the event, I schedule a WP cron job event for the day of the event that gives them access to restricted content.
Or, tag the users with the date of the event they chose, and run a daily WP cron-job which checks all users and gives them access to the restricted content IF the date on the user matches the current date.
Since I'm quite a newbie - which one is the better approach (performance, scalability, etc)?
Maybe there's a third, better solution I haven't thought of as well :)