Hi
I am using WordOps for my VPS to manage WP and the structure like below:

My website is located at /var/www/mywebsite.com/htdocs
the wp-config.php is located at /var/www/mywebsite.com/wp-config.php

I've created the file at /usr/local/bin/wp-update and paste your bash script there, chmod +x for it and set chown is www-data:www-data (correct user:group of the website files).

Put in the crontab command: /usr/local/bin/wp-update /var/www/mydomain.com/htdocs
runs every minute to test.

But no luck, the plugins do not get auto upgrade.

Should I need to your bash script to modify the path to wp-config.php file?

Please advise,
Thanks

Note: Your comment form does not have the email field so how can I get notified if you respond to my comment?

CAPTCHA