I believe that many webmasters want to automatically collect information and update it to our website when using the Blue Sky Collector. When automatic collection is enabled in the background, it always stops automatically after a while. What's the reason?
Answer: It is mainly limited by the response of the website server of the collection source station, not our collector! The blue sky collector comes with three modes. We use PHP-CLI to set automatic collection. We don't need to worry about the automatic stop of collection.
1、 Pagoda panel settings
2、 Open the terminal, enter ssh and execute the following two commands
rm -f /usr/bin/php ln -sf /www/server/php/70/bin/php /usr/bin/php
Whether the test is successful, input in the terminal php -v Check whether it is successful.
Note: Different PHP versions have different paths!!! Based on the source code itself, it supports up to php7.2
3、 Background configuration of blue sky collector
Setting -->Collection setting -->Collection running mode -->cli command line (recommended);
PHP executable path: Enter the absolute path of the version you use, such as/www/server/php/70/bin/php.
Text label: Blue sky collector Cli command line Automatic acquisition Pagoda panel
A little Jack https://lkba.cn
The blogger focuses on Z-Blog website construction, website optimization, computer troubleshooting, reinstallation, optimization, maintenance system, etc., QQ/WX: 2126245521 (please specify the purpose)
Copyright © 2020-2023 Jack's works Reserved.
Powered By Z-Blog Sitemap | Shu ICP Bei No. 2023025269 - 1
Processed : 0.048 SQL : 14