google_map_review/run_hourly.sh
2026-02-25 17:13:05 +07:00

12 lines
345 B
Bash
Executable File

#!/bin/bash
# Activating virtual environment
source venv/bin/activate
echo "Starting hourly crawler in background..."
nohup python schedule_crawler.py > /dev/null 2>&1 &
echo "Crawler is now running in the background."
echo "Check scheduler.log and crawler.log for output."
echo "To stop the crawler later, run: pkill -f schedule_crawler.py"