Hi
I installed hestia on the VPS server (Debian 11) and added a WordPress website. I added hestia cron for WordPress in the panel, but it gives me an error.
wget --delete-after https://xxx/wp-cron.php
–2023-05-15 18:20:01-- https://xxx/wp-cron.php
Resolving xxx (xxx)… 127.0.0.1
Connecting to xxx (xxx)|127.0.0.1|:443… failed: Connection refused.
The same is on port 80.
I searched for solutions on the internet, but I couldn’t find anything that would work.
Help me
eris
May 15, 2023, 8:28pm
2
Delete domain.com from /etc/hosts as it is probally local loopback
Or run /usr/bin/php7.4 /home/user/web/domain.com/public_html/wp-cron.php as a cronjob
1 Like
It works:
php -f /home/username/web/domain.com/public_html/wp-cron.php
And it’s not possible to unlock it to work by domain name? Removing from /etc/hosts does not change anything.
eris
May 15, 2023, 9:18pm
4
Then you need to check why it is still looping back…
But personally I always prefer to use a php over wget…
1 Like
Let it stay through php Thanks for the help