Home page >> Related Tutorials >>Body

PHP-CLI (Command Line) Tutorial for Blue Sky Collector to Start Automatic Collection Settings

Author: A little Jack    Time: 2022-10-28 11:04:09    Browse: 1149   

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

 PHP-CLI (Command Line) Tutorial for Blue Sky Collector to Start Automatic Collection 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.

 PHP-CLI (Command Line) Tutorial for Blue Sky Collector to Start Automatic Collection Settings

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.

 PHP-CLI (Command Line) Tutorial for Blue Sky Collector to Start Automatic Collection Settings


Text label: Blue sky collector   Cli command line   Automatic acquisition   Pagoda panel  
 A little Jack

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)

Related articles

Previous:

Next:

No comment for this article - Welcome

 Please fill in the verification code

Processed : 0.048 SQL : 14