docs(healthcheck): missing cron explanation

This commit is contained in:
Tine 2024-02-23 15:18:50 +01:00
parent 53be510c0c
commit cca5dc6ff3
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw

View file

@ -9,7 +9,12 @@
<p>Worker groups are used to distribute the healthcheck to specific workers.</p> <p>Worker groups are used to distribute the healthcheck to specific workers.</p>
<label for="schedule">Schedule</label> <label for="schedule">Schedule</label>
<input type="text" name="schedule" id="schedule" value="{{ .Healthcheck.Schedule }}"/> <input type="text" name="schedule" id="schedule" value="{{ .Healthcheck.Schedule }}"/>
<p> Schedule is a cron expression that defines when the healthcheck should be executed.</p> <p>
Schedule is a cron expression that defines when the healthcheck should be executed.
</br>
You can also use <code>@every [interval]</code> where interval is a duration like 5m, 1h, 60s.
Or use <code>@hourly</code>, <code>@daily</code>, <code>@weekly</code>, <code>@monthly</code>, <code>@yearly</code>.
</p>
<label for="script">Script</label> <label for="script">Script</label>
<input required type="hidden" id="script" name="script"> <input required type="hidden" id="script" name="script">
<div id="editor" class="block w-full h-96 rounded-lg border border-gray-300 overflow-hidden"></div> <div id="editor" class="block w-full h-96 rounded-lg border border-gray-300 overflow-hidden"></div>