Add test emails for both brands on container startup
All checks were successful
Deploy Production Email Reports (Unified) / deploy (push) Successful in 57s
All checks were successful
Deploy Production Email Reports (Unified) / deploy (push) Successful in 57s
This commit is contained in:
@@ -50,6 +50,21 @@ fi
|
||||
|
||||
echo "✓ Cron daemon is running"
|
||||
echo ""
|
||||
|
||||
# Send test emails for both brands
|
||||
echo "Sending test emails to verify configuration..."
|
||||
echo ""
|
||||
|
||||
echo "[Testing Crew Sportswear]"
|
||||
BRAND=crew php /app/send_report.php
|
||||
echo ""
|
||||
|
||||
echo "[Testing MerchBay]"
|
||||
BRAND=merchbay php /app/send_report.php
|
||||
echo ""
|
||||
|
||||
echo "✓ Test emails sent. Check graphics@crewsportswear.com inbox."
|
||||
echo ""
|
||||
echo "Container is ready. Tailing logs..."
|
||||
echo "Press Ctrl+C to stop (but don't - this keeps the container alive!)"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user