Read this on the main serverless docs site¶
Schedule¶
This event allows you to set up scheduled invocations of your function.
The plugin automatically configures a trigger and rule to connect your function to the trigger feed from the alarm package.
Configuration¶
The schedule event configuration is controlled by a string, based on the UNIX crontab syntax, in the format cron(X X X X X). This can either be passed in as a native string or through the rate parameter.
Simple¶
The following config will attach a schedule event and causes the function crawl to be called every minute.
This automatically generates a new trigger (`\${service}\_crawl_schedule_trigger) and rule (\${service}\_crawl_schedule_rule) during deployment.
Customise Parameters¶
Other schedule event parameters can be manually configured, e.g trigger or rule names.