https://www.davidangulo.xyz/posts/how-to-create-cron-job-in-wordpress/
How to create a cron job in WordPress - David Angulo - Software Engineer