Woocommerce – Create custom cron job to update stock status based on date comparison
I’m trying to creste a cron job that will compare a date set as product meta data to the current date, then update the products stock if the date set as product meta data has passed.