m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-18 01:43:41 -05:00

docs: mention seconds are required in cron pattern

This commit is contained in:
Sergio
2025-04-03 15:24:50 +03:00
parent 86d5b0465c
commit ba20dd3086
2 changed files with 3 additions and 3 deletions

View File

@@ -4,9 +4,9 @@ Cup can automatically refresh the results when running in server mode. Simply ad
```jsonc
{
"refresh_interval": "0 0,30 * * * *" // Check twice an hour
"refresh_interval": "0 */30 * * * *", // Check twice an hour
// Other options
}
```
You can use a cron expression to specify the refresh interval. The reference is [here](https://github.com/Hexagon/croner-rust#pattern)
You can use a cron expression to specify the refresh interval. Note that seconds are not optional. The reference is [here](https://github.com/Hexagon/croner-rust#pattern)