I’ve recently been looking at how best to run wp-cron manually from the system to avoid a performance hit when a visitor loads the site. I’ve so far found 3 different ways to run this. There may be others.
I make no comment on the advantages or disadvantages of each yet, because I simply don’t know well enough to be in a position to make recommendations…
wget -q -O - HTTPS://yourdomain.tld/wp-cron.php?doing_wp_cron >/dev/null 2>&1
wp cron event run --due-now --path='/path/to/wordpress/'
php /path/to/wordpress/wp-cron.php >/dev/null 2>&1
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”