php - WooCommerce/WordPress: Using WP-Cron instead of cPanel Cron Job

one text

I'm using my cPanel cron job system to run my jobs. I've decided that it would more efficient to use WP-Cron to run my function.

I'm currently using a page with a custom template which contains a function. Everytime this page is visited, the function will run. I don't like it and I prefer to use a more "behind-the-scenes" approach.

My question is simple: What are the steps to run a new WP-Cron every day at 12pm?

Source