Alright yes it’s working now. May I make a suggestion on updating the crawler documentation? It would be a good idea for posting an article on the subject too as I notice alot of other users are having some issues with the WP CLI.
Correct any areas if I’m wrong and happy for you to share this with the team for ideas and feedback.
For the Crawler section: (https://docs.litespeedtech.com/lscache/lscwp/crawler)
Crawler:
The crawler travels through your site, refreshing pages that have expired in the cache. This makes it less likely that your visitors will encounter uncached pages.
The crawler must be enabled at the server-level or the virtual host level by a site admin. Please see: Enabling the Crawler at the Server or Virtual Host Level
Learn more about crawling on our blog.
If you are <a href="https://developer.www.ads-software.com/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/">hooking WP-Cron into the System Task Scheduler</a>, you must be comfortable using the crawler's <a >WordPress CLI commands</a> to manually enable, run, reset position and disable the crawlers.
Learn more about this on our blog (insert blog post article on the subject)
Under General Settings -> Crawler (https://docs.litespeedtech.com/lscache/lscwp/crawler/#crawler_1)
Crawler
OFF
Set the to ON to enable crawling for this site.
If you are using server cron job, set this to OFF. Otherwise your WP-CLI crawler commands will not run. (Learn more from our article)
Under Crawl Interval (https://docs.litespeedtech.com/lscache/lscwp/crawler/#crawl-interval)
Crawl Interval
302400
This determines how long in seconds before the crawler starts crawling/re-initiating the crawling process. You might want to change this depending on how long it takes to crawl your site. The best way to figure this out is to run all the crawlers a few times and keep track of the "Last complete run time for all crawlers". Once you've got that amount, set Crawl Interval to slightly more than that. For example if your last complete run time for all crawlers is 4 hours, you could set this value to 5 hours (or 18000 seconds)
This setting is also reliant on the Run Duration setting. If your Run Duration is lower than the Crawl Interval, the crawler will not re-initiate until the Crawl Interval has been reached.
For example using the default values Run Duration 400, Crawl Interval 302400, and your site has not completed crawling, This means once the crawler starts and 400 seconds is past, it will be another 302000 seconds before the crawler is re-initiated
If you are using server cron to schedule the crawler, it is recommended to set this value to something lower so the crawler can be re-initiated by the cron accordingly. Learn more from our article (insert article)