Achtung: es ist ein TEST
erstelle eine bash Datei Namen: install.sh
cat > /usr/local/bin/turnkey-wp-update <<EOF
#!/bin/bash
# To disable a particular type of update, comment the line out (prefix line with '#').
# To only update specific plugins/themes, in the relevant lines below replace '--all'
# with a list of space separated plugin/theme names.
/usr/local/bin/turnkey-wp core update
/usr/local/bin/turnkey-wp plugin update --all
/usr/local/bin/turnkey-wp theme update --all
EOF
chmod +x /usr/local/bin/turnkey-wp-update
bash install.sh
nano /etc/cron.d/wordpress-cron
echo "02 00 * * * root /usr/local/bin/turnkey-wp-updates >/dev/null 2>&1" >> /etc/cron.d/wordpress-cron
*/5 * * * * www-data /usr/bin/curl -A 'Mozilla/5.0' 'http://127.0.0.1/wp-cron.php' >/dev/null 2>&1
02 00 * * * root /usr/local/bin/turnkey-wp-updates >/dev/null 2>&1
/usr/local/bin/turnkey-wp language core update
/usr/local/bin/turnkey-wp language plugin --all update
/usr/local/bin/turnkey-wp language theme --all update