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