Manually trigger WP cron

What’s discussed here?

If your WordPress cron has been disabled by using the method described in this post, You can trigger the WordPress cron manually using one of the following methods:

Trigger the WordPress cron by visiting the url

You can trigger the WordPress cron manually by simply visiting the url in a browser, for example:

https://yourdomain.com/wp-cron.php

note: change yourdomain.com to your own domain.

Trigger the WordPress cron using wget

You can trigger the WordPress cron by using wget in a terminal window on a mac or linux, for example:

wget -q -O — http://yourdomain.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

note: change yourdomain.com to your own domain.

Trigger the WordPress cron using curl

You can trigger the WordPress cron by using curl in a terminal window on a mac or linux, for example:

curl --silent http://yourdomain.com/wp-cron.php

note: change yourdomain.com to your own domain.

Trigger the WordPress cron using WP CLI

You can trigger the WordPress cron by using WP CLI in a terminal window on your server, for example:

wp cron event run --due-now

note: you will have to change your directory that you are working in, for example,
cd /home/user/yourdomain.com/public/ or wherever your site is located.

Read more about the subject above