Wordpress runs it's cron job automatically approximately every 10 minutes. Sometimes it is blocked by .htaccess or other server configuration. To avoid issues, it might be a good idea to run from the server crontab itself.
References:
https://kinsta.com/knowledgebase/disable-wp-cron/
https://wpbeaches.com/set-up-wordpress-wp-cron-php-to-run-manually/
https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-sā¦