illphated
#!/bin/bash
# Full path to your Python script
SCRIPT=”/Users/jamescoder/smartproxy.py”
# Infinite loop
while true; do
echo “Launching 5 parallel processes…”
# Launch 5 instances in parallel
python3 “$SCRIPT” &
python3 “$SCRIPT” &
python3 “$SCRIPT” &
python3 “$SCRIPT” &
python3 “$SCRIPT” &
# Wait for all 5 to complete before looping again
wait
echo “All 5 finished. Restarting loop…”
done