Created
May 19, 2015 05:26
-
-
Save gayanvirajith/a9c2e3e67d8f66f8992e to your computer and use it in GitHub Desktop.
Ez publish 5 clear cache shell script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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