chobann
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Setup crawler cron to run only at a specific timeYes that was the issue. We can mark it as solved. This is the command I used for the cron job if anyone else is interested:
/usr/local/bin/wp litespeed-crawler run --path=/home/user/domains/your_domain/public_html > /dev/null 2>&1; sleep 10; /usr/local/bin/wp litespeed-crawler run --path=/home/user/domains/your_domain/public_html > /dev/null 2>&1Forum: Plugins
In reply to: [LiteSpeed Cache] Setup crawler cron to run only at a specific timeYes if I click the manual run button it works. Although the first time the status is “stopped_reset” and then I have to click manual run again in order for it to actually start crawling.
Forum: Plugins
In reply to: [LiteSpeed Cache] Setup crawler cron to run only at a specific timeYes when the time is not between what I set its set to OFF.
I edited the time so that its ON to test it and when I ran the cron job ( I set it to run after 1 minute to test it ) it outputted this: Success: Start crawling. Current crawler #1 [position] 0 [total] 1252. The problem is that it stopped here. It never continued crawling. I outputted the results to a file. Maybe I should change some settings? I am currently running these in wp-config:define(‘LITESPEED_CRAWLER_THREADS’, 1);
define(‘LITESPEED_CRAWLER_USLEEP’, 300000);
define(‘LITESPEED_CRAWLER_RUN_INTERVAL’, 3600);
define(‘LITESPEED_CRAWLER_LOAD_LIMIT’, 15);
Forum: Plugins
In reply to: [LiteSpeed Cache] Setup crawler cron to run only at a specific timeThe code that re-enables the crawler is working but what should the command be for the cron job that starts the crawler? I am assuming that inside the summary tab I will not see any updates in the “watch crawler status” and should probably monitor system resources to see it working, correct me if I’m wrong. I tried something like this for the command:
/usr/local/bin/wp litespeed-crawler run --path=/home/c8gzhgcf/domains/shopbg-zdrave.com/public_html > /dev/null 2>&1Forum: Plugins
In reply to: [LiteSpeed Cache] Setup crawler cron to run only at a specific timeThank you I will test this and update you.
Forum: Plugins
In reply to: [LiteSpeed Cache] Setup crawler cron to run only at a specific timeI understand there is no feature for this specific request but can’t I mimic this somehow with a cron?