Documentation:
https://docs.litespeedtech.com/lscache/litemage/crawler/
Path to: M2-crawler.sh
in server /home/user/M2-crawler.sh
Via SSH I run crawler in this way:
cd /home/user
bash M2-crawler.sh SITE-MAP-URL
- How to run crawler via cron and log in var/log?
- I try some like this but Im not sure, is correct way?
/usr/local/php74/bin/php74 /home/user/bash M2-crawler.sh https://sitemap.pl/pub/media/sitemap/sitemap-1-1.xml 2>&1 | grep -v "Cached" >> /home/user/domains/sitemap.pl/public_html/var/log/cachels.cron.log
- I have 50k+ products – How many cron time should schedule the crawler run?