Users have the option to run a function on a timer to set off at regular intervals. To do this, to navigate to the serverless.yml file and add in under the functions > function name:
cron: active: true value: '*/1 * * * *'
value is the cron function you want a function to run on. For help with cron functions check out the Cron Tab Guru. You can also set the cron function to be inactive if you want.