To create a serverless function that executes on a specific schedule, we need to use the timer trigger. A timer trigger is an event, which triggers the function execution periodically, based on a specific schedule. To demonstrate a scheduled function, we will create a new function to run every minute and average our scoring results.
Prior to creating the function, let us explain how to define the function's schedule.