WP CLI to the rescue! Instead of using php
and trying to figure out the rest, install it on the server and just have your cron execute
wp cron event run --due-now --path=/home/mysite_staging/www/example.com/
WP CLI to the rescue! Instead of using php
and trying to figure out the rest, install it on the server and just have your cron execute
wp cron event run --due-now --path=/home/mysite_staging/www/example.com/