Initial commit: Hermes Agent Skills collection
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Start Chefkoch Scraper v4 safely using profile .venv + profile-local fixed script
|
||||
# Place in ~/.hermes/scripts/ and chmod +x
|
||||
LOG="/home/debian/.hermes/profiles/nutrition-coach/scraper_v4.out"
|
||||
PIDFILE="/tmp/chefkoch_scraper_v4.pid"
|
||||
|
||||
# Check if already running
|
||||
if [ -f "$PIDFILE" ] && kill -0 "$(cat $PIDFILE)" 2>/dev/null; then
|
||||
echo "Scraper already running (PID $(cat $PIDFILE))"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
cd /home/debian/.hermes/profiles/nutrition-coach || exit 1
|
||||
|
||||
export PYTHONUNBUFFERED=1
|
||||
export PLAYWRIGHT_BROWSERS_PATH=/home/debian/.cache/ms-playwright
|
||||
|
||||
nohup /home/debian/.hermes/profiles/nutrition-coach/.venv/bin/python3 \
|
||||
/home/debian/.hermes/profiles/nutrition-coach/scripts/chefkoch_scraper_v4.py \
|
||||
--no-agent >> "$LOG" 2>&1 &
|
||||
PID=$!
|
||||
echo $PID > "$PIDFILE"
|
||||
echo "Scraper started (PID $PID). Log: $LOG"
|
||||
Reference in New Issue
Block a user