We're looking to have real time events going on the platform with time-sensitive functions such as opening and closing an event for user interactions and more.
So we need to run cron functions and I'm just wondering what's the best way to approach this in Payload?
I can run my own cron functions inside onInit in server.ts, is there a better approach people have had or? Trying to get a sanity check on this, many thanks!