Files
kube-zap2xml/entrypoint.sh
Jef LeCompte b5cec7c951 docs: include so links to wiki, update SLEEP_TIME default
SLEEP_TIME is now 6 hours instead of 3 because of the default TIMESPAN of 6 hours.
2025-07-20 14:05:49 -07:00

12 lines
212 B
Bash
Executable File

#!/bin/sh
SLEEP_TIME=${SLEEP_TIME:-21600}
while true; do
DATE=$(date)
node dist/index.js
echo "Last run time: $DATE"
echo "Will run in $((SLEEP_TIME / 60)) minutes"
sleep "$SLEEP_TIME"
done