[program:translation-worker]
command=/usr/bin/php /var/www/html/bot/process_translation_queue.php
directory=/var/www/html/bot/
user=root
autostart=true
autorestart=true
stdout_logfile=/var/www/html/bot/logs/translation-worker.out.log
stderr_logfile=/var/www/html/bot/logs/translation-worker.err.log
redirect_stderr=true

[program:queue-processor]
command=/bin/bash -c "while true; do sleep 60; /usr/bin/php /var/www/html/bot/process_queue.php; done"
directory=/var/www/html/bot/
user=root
autostart=true
autorestart=true
stdout_logfile=/var/www/html/bot/logs/queue-processor.out.log
stderr_logfile=/var/www/html/bot/logs/queue-processor.err.log
redirect_stderr=true