ferrero-opentext/Python-Version/scripts
DJP 40ebc56585 Change A1→A2 script to single-run mode (process one campaign and exit)
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
2025-10-30 17:01:45 -04:00
..
shared Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
a1_to_a2_download.py Change A1→A2 script to single-run mode (process one campaign and exit) 2025-10-30 17:01:45 -04:00
a2_to_a3_upload.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00
test_connection.py Complete Python automation implementation - All components built 2025-10-30 16:49:14 -04:00