infra::profile::cron::cronjobs:
blog-wordpress-update:
- command: 'export HTTP_HOST="tst-blog-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-blog-berlin-airport-de/ >/dev/null 2>&1'
+ command: 'sudo -u nginx bash -c \u0027 export HTTP_HOST="tst-blog-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-blog-berlin-airport-de/" >/dev/null 2>&1 \u0027 '
minute: '0'
hour: '10'
date: '*'
environment:
- 'PATH="/usr/local/bin:/bin"'
roadmap-wordpress-update:
- command: 'export HTTP_HOST="tst-berhub-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-berhub-berlin-airport-de/ >/dev/null 2>&1'
+ command: 'sudo -u nginx bash -c \u0027 export HTTP_HOST="tst-berhub-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/tst-berhub-berlin-airport-de/" >/dev/null 2>&1 \u0027 '
minute: '30'
hour: '10'
date: '*'