Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ez publish 5 clear cache shell script
#!/bin/bash
# Clear production and dev cache of symfony
php ezpublish/console cache:clear --env=prod; php ezpublish/console cache:clear
# Change directory to ezpublish_legacy and clear the legacy cache
cd ezpublish_legacy; php bin/php/ezcache.php --clear-all --purge;
# Change the directory back
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.