Changed from continuous loop to single-run mode:
- Processes ONLY the first A1 campaign found
- Exits after processing (success=0, failure=1)
- Cron will run every 5 minutes, naturally processing one at a time
Benefits:
✅ Controlled processing (one campaign at a time)
✅ Easy to test manually
✅ Predictable resource usage
✅ Failed campaigns retry on next run
✅ Can stop/start easily
How it works:
1. Cron triggers script every 5 minutes
2. Script finds A1 campaigns
3. Processes first one only
4. If success → Updates to A2, exits
5. If failure → Stays A1, exits
6. Next run processes next A1 (or retries failed)
Also fixed requirements.txt to use >= versions for Python 3.10+ compatibility
🤖 Generated with Claude Code