{{ define "settings" }} Name Name of the hook can be anything. Worker Groups Worker groups are used to distribute the hook to specific workers. Space is a separator between groups. Schedule Schedule is a cron expression that defines when the hook should be executed. You can also use @every [interval] where interval is a duration like 5m, 1h, 60s. Or use @hourly, @daily, @weekly, @monthly, @yearly. Script {{ ScriptUnescapeString .ExampleScript }} Script is what determines the status of a service. You can read more about it on k6 documentation. Create {{ end }}
Name of the hook can be anything.
Worker groups are used to distribute the hook to specific workers. Space is a separator between groups.
Schedule is a cron expression that defines when the hook should be executed. You can also use @every [interval] where interval is a duration like 5m, 1h, 60s. Or use @hourly, @daily, @weekly, @monthly, @yearly.
@every [interval]
@hourly
@daily
@weekly
@monthly
@yearly
Script is what determines the status of a service. You can read more about it on k6 documentation.