Skip to Content

Automatic refresh

Cup can automatically refresh the results when running in server mode. Simply add this to your config:

{ "refresh_interval": "0 */30 * * * *", // Check twice an hour // Other options }

You can use a cron expression to specify the refresh interval. Note that seconds are not optional. The reference is here.

💡

If you use a schedule with absolute time (e.g. every day at 6 AM), make sure to set the TZ environment variable to your timezone.

Last updated on