1
0
mirror of https://github.com/pcvolkmer/checkbar.git synced 2025-07-02 14:22:54 +00:00

Adding long unit forms for interval duration

This commit is contained in:
2023-02-18 13:18:47 +01:00
parent 3855c7a492
commit dbd43d5a69
2 changed files with 44 additions and 6 deletions

View File

@ -31,8 +31,13 @@ url = "tcp://app.example.com:12345"
check_type = "Tcp"
----
The value for `interval` can be set by using plain seconds or using units of `h`, `m` and `s`. Unparseable values will
default to 60 seconds.
The value for `interval` can be set by using plain seconds or using units. Accepted units:
* h, hour, hours
* m, min, mins, minutes, minutes
* s, sec, secs, second, seconds
Unparseable values will default to 60 seconds.
----
# Update interval using seconds as number.