From: Christian Weiske Date: Tue, 18 Oct 2016 07:58:32 +0000 (+0200) Subject: (no commit message) X-Git-Url: https://git.cweiske.de/paste/259.git/commitdiff_plain/75ce4e14b38ef509dd840f599f2fc240c2f2aeca?hp=94074d22895305bf3f6678d2d43938e0b63772b4 --- diff --git a/clear-caches.sh b/clear-caches.sh new file mode 100644 index 0000000..2ea1a14 --- /dev/null +++ b/clear-caches.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# clear all TYPO3 caches +# requires TYPO3 extension coreapi +set -e + +su -c "cd /var/www/site/htdocs && ./typo3/cli_dispatch.phpsh extbase cacheapi:clearsystemcache"\ + -s /bin/sh\ + www-data +su -c "cd /var/www/site/htdocs && ./typo3/cli_dispatch.phpsh extbase cacheapi:clearallcaches"\ + -s /bin/sh\ + www-data \ No newline at end of file