Open nine-2-five opened 3 months ago
It was a complication related to loopback request error because I'm running Docker in WSL, and the hosts file has the 127.0.0.1 IP of the test site domain for development purposes, so I mangled up a script to get the nginx IP during wordpress-fpm container start and place that in the /etc/hosts file of the wordpress-fpm container.
I'm sending chunks of 1000 filenames to queue and have two issues:
Is there a way to start the process immediately and have it running without rescheduling until finished?
Update:
my plugin seems to work fine on another server under Apache, the problem I reported here presents itself when running on a developer machine under docker image wordpress:6-php8.1-fpm.
It seems the task() method is called every 5th call to wp-cron.php, or every 5 minutes.