clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
693 B

#!/bin/bash
set -e
export PATH="/usr/local/bin:/usr/bin:/bin"
# ========================================
# ARTICLE POST-PROCESSING CRON
# ========================================
# Runs every few minutes to process articles that need QA and indexing
# Replaces the old articles:get + qa + index + indexed sequence
# Now only runs post-processing since hydration worker handles ingestion
# ========================================
echo "$(date '+%Y-%m-%d %H:%M:%S') - Starting article post-processing..."
# Run post-processing commands (QA, index, mark as indexed)
php /var/www/html/bin/console articles:post-process
echo "$(date '+%Y-%m-%d %H:%M:%S') - Article post-processing completed"