location_deny:
- 'all'
-#infra::profile::cron::cronjobs:
-# blog-wordpress-update:
-# 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: '30'
-# hour: '10'
-# date: '*'
-# month: '*'
-# weekday: '1-5'
-# user: root
-# environment:
-# - 'PATH="/usr/local/bin:/bin"'
-# roadmap-wordpress-update:
-# 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: '0'
-# hour: '10'
-# date: '*'
-# month: '*'
-# weekday: '1-5'
-# user: root
-# environment:
-# - 'PATH="/usr/local/bin:/bin"'
+infra::profile::cron::cronjobs:
+ blog-wordpress-update:
+ command: 'wp core update --path="/srv/www/tst-blog-berlin-airport-de/"'
+ minute: '30'
+ hour: '10'
+ date: '*'
+ month: '*'
+ weekday: '1-5'
+ user: nginx
+ environment:
+ - 'PATH="/usr/local/bin:/bin"'
+ - 'HTTP_HOST="tst-blog-berlin-airport-de.pixelpark.net"'
+ roadmap-wordpress-update:
+ command: 'wp core update --path="/srv/www/tst-berhub-berlin-airport-de/"'
+ minute: '0'
+ hour: '10'
+ date: '*'
+ month: '*'
+ weekday: '1-5'
+ user: nginx
+ environment:
+ - 'PATH="/usr/local/bin:/bin"'
+ - 'HTTP_HOST="tst-berhub-berlin-airport-de.pixelpark.net"'
infra::profile::cron::cronjobs:
blog-wordpress-update:
- 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 '
+ command: 'wp core update --path="/srv/www/tst-blog-berlin-airport-de/"'
minute: '0'
hour: '10'
date: '*'
user: root
environment:
- 'PATH="/usr/local/bin:/bin"'
+ - 'HTTP_HOST="tst-blog-berlin-airport-de.pixelpark.net"'
roadmap-wordpress-update:
- 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 '
+ command: 'wp core update --path="/srv/www/tst-berhub-berlin-airport-de/"'
minute: '30'
hour: '10'
date: '*'
user: root
environment:
- 'PATH="/usr/local/bin:/bin"'
+ - 'HTTP_HOST="tst-berhub-berlin-airport-de.pixelpark.net"'
# infra::profile::cron::cronjobs:
# blog-wordpress-update:
-# command: 'export HTTP_HOST="blog-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/blog-berlin-airport-de/ >/dev/null 2>&1'
+# command: '/usr/bin/curl --silent http://blog02.berlin-airport.de/wp-cron.php >/dev/null 2>&1'
# minute: '0'
# hour: '10'
# date: '*'
# weekday: '1-5'
# user: nginx
# environment:
-# - 'PATH="/usr/local/bin:/bin"'
+# - 'PATH="/usr/bin:/bin"'
# roadmap-wordpress-update:
-# command: 'export HTTP_HOST="berhub-berlin-airport-de.pixelpark.net" && wp core update --path="/srv/www/berhub-berlin-airport-de/ >/dev/null 2>&1'
+# command: '/usr/bin/curl --silent http://roadmap02.berlin-airport.de/wp-cron.php >/dev/null 2>&1'
# minute: '30'
-# hour: '10'
+# hour: '22'
# date: '*'
# month: '*'
# weekday: '1-5'
# user: nginx
# environment:
-# - 'PATH="/usr/local/bin:/bin"'
+# - 'PATH="/usr/bin:/bin"'