Files
2025-11-11 11:47:15 +01:00

586 B

EXTRAS: systemd Timer (optional)

/etc/systemd/system/rag-crawler.service

[Unit]
Description=RAG Crawler Update (drip)
After=network.target

[Service]
Type=oneshot
User=root
ExecStart=/bin/bash -lc 'source /srv/ai/rag-crawler/venv/bin/activate && python3 /srv/ai/rag-crawler/crawler/main.py --mode=drip --budget 1'

/etc/systemd/system/rag-crawler.timer

[Unit]
Description=Run RAG Crawler drip hourly

[Timer]
OnCalendar=hourly
Persistent=true

[Install]
WantedBy=timers.target

Enable

systemctl daemon-reload
systemctl enable --now rag-crawler.timer