I have an app where users create events. When the event ends I’d like to automatically run a function to update the database. Would creating a cron job via node server for e