A kind of initial commit

This commit is contained in:
heboba
2026-02-26 19:33:05 +00:00
commit 9ab125b1a6
37 changed files with 3053 additions and 0 deletions

13
scripts/start_cron.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
set -eu
: "${CRON_SCHEDULE:=15 2 * * *}"
: "${APP_TIMEZONE:=UTC}"
export TZ="${TZ:-$APP_TIMEZONE}"
cat > /tmp/crontab <<EOF
${CRON_SCHEDULE} /app/scripts/run_nightly.sh
EOF
exec /usr/local/bin/supercronic /tmp/crontab