mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-10 14:13:49 -05:00
12 lines
356 B
Plaintext
12 lines
356 B
Plaintext
# Automatic refresh
|
|
|
|
Cup can automatically refresh the results when running in server mode. Simply add this to your config:
|
|
|
|
```jsonc
|
|
{
|
|
"refresh_interval": "0 0,30 * 0 0" // 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) |