forked from lukaszett/Knack-Scraper
10 lines
No EOL
297 B
Bash
10 lines
No EOL
297 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Run model download with output to stdout/stderr
|
|
/usr/local/bin/ensure_minilm_model.sh 2>&1
|
|
/usr/local/bin/ensure_gliner_model.sh 2>&1
|
|
|
|
# Start cron in foreground with logging
|
|
exec cron -f -L 2
|
|
# cd /app && /usr/local/bin/python main.py >> /proc/1/fd/1 2>&1 |