Files
hassio-addons/spotweb/rootfs/etc/periodic/daily/check-cache
2023-10-03 20:02:29 +02:00

11 lines
406 B
Plaintext

#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================
# Runs the daily task to check the spotweb cache
# ==============================================================================
bashio::log.info "Running daily spotweb cache check" &>/proc/1/fd/1
s6-setuidgid nginx php /app/bin/check-cache.php &>/proc/1/fd/1