# Clear Cache REDIS

La commande suivante est à lancer pour chaque site dans le répertoire du site, et sur chacun des 3 serveurs web en tant que l'utilisateur apache (ou www-data ou admin-apache)

Exemple comment exécuter la commande :

<span style="color: rgb(230, 126, 35);">sudo -u login php bin/console cache:clear --env=prod &amp;&amp; php bin/console cache:pool:clear cache.redis --env=prod</span>

<span style="color: rgb(230, 126, 35);">cd /production/questions</span>  
<span style="color: rgb(230, 126, 35);">php bin/console cache:clear --env=prod &amp;&amp; php bin/console cache:pool:clear cache.redis --env=prod</span>  
<span style="color: rgb(230, 126, 35);">cd /production/ezplatform</span>  
<span style="color: rgb(230, 126, 35);">php bin/console cache:clear --env=prod &amp;&amp; php bin/console cache:pool:clear cache.redis --env=prod</span>  
<span style="color: rgb(230, 126, 35);">cd /production/ezplatform</span>  
<span style="color: rgb(230, 126, 35);">php bin/console cache:clear --env=prod &amp;&amp; php bin/console cache:pool:clear cache.redis --env=prod</span>  
<span style="color: rgb(230, 126, 35);">cd /production/ezplatform</span>  
<span style="color: rgb(230, 126, 35);">php bin/console cache:clear --env=prod &amp;&amp; php bin/console cache:pool:clear cache.redis --env=prod</span>  
<span style="color: rgb(230, 126, 35);">cd /production/ezplatform</span>  
<span style="color: rgb(230, 126, 35);">php bin/console cache:clear --env=prod &amp;&amp; php bin/console cache:pool:clear cache.redis --env=prod</span>