Automation Scripts (/scripts/)
Scripts Directory
Section titled “Scripts Directory”The /scripts/ directory contains automation and maintenance scripts.
Key Scripts
Section titled “Key Scripts”elasticsearch-auto-sync.php (611+ lines)
Section titled “elasticsearch-auto-sync.php (611+ lines)”Main Elasticsearch synchronization engine.
product-crawler-manager.php (277+ lines)
Section titled “product-crawler-manager.php (277+ lines)”Manages product scan batches for Scrapyd.
product-screenshot-manager.php
Section titled “product-screenshot-manager.php”Automated screenshot capture.
crawler-manager.php
Section titled “crawler-manager.php”Category-based crawler management.
Utilities
Section titled “Utilities”check-db.php- Database verificationverify-setup.php- System validationtest-crawler.php- Testing utilities
/cron/ Subdirectory
Section titled “/cron/ Subdirectory”migrate-core-categories.phpupdate-core-categories.php
Next Steps
Section titled “Next Steps”- Automation - Cron job setup
- Data Pipeline - Processing flow