Server-Based CRON Job

Question

We want to move a CRON job from being triggered in WordPress to a server-based job. Right now the code lives in the functions.php file in our WP theme, and we use the WPCrontrol plugin for scheduling. The issue is the code has WooCommerce hooks in it. A server-based job has no idea what to do with WC_Orders. How can we resolve this?

0
Thomas 2 years 2020-10-21T14:10:24-05:00 0 Answers 15 views 0

Leave an answer

Browse
Browse