Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Changing the Live Stream check cron job

Isaac edited this page May 11, 2022 · 2 revisions

Release v0.0.9 allows the live stream check cronjob to be changed via a Docker environment variable. By default it runs every 5 minutes. If you would like to change how frequent this runs, add an environment variable to the Ceres docker service.

LIVE_CRON_SCHEDULE=EVERY_5_MINUTES

A list of all valid cron expressions can be found at the NestJS Cron pacakge. This variable will only accept the text cron expression and not the actual cron expression, example: EVERY_MINUTE is valid */1 * * * * is not valid.

If the variable is not set it will default to 5 minutes. If the user enters an incorrect cron expression it will default to 5 minutes and notify them in the logs that it is incorrect.

Note: Values below five minutes may result in the thumbnail missing for live streams. This is because Twitch does not update thumbnails when the stream starts but instead on a schedule.

Clone this wiki locally