aether-hf / scripts /aether-auto-update.sh
iiioooo1's picture
feat: initial Aether HF Space deploy (SQLite + Dataset backup + auto-update cron)
a9e8b86 verified
Raw
History Blame Contribute Delete
240 Bytes
#!/bin/bash
# Auto-update wrapper called by cron.
set -euo pipefail
if [[ -z "${HF_TOKEN:-}" ]]; then
echo "$(date -u +%FT%TZ) aether-auto-update: HF_TOKEN unset, skip" >&2
exit 0
fi
exec python3 /usr/local/bin/aether_check_update.py