Commit 697f5624 authored by rlgy's avatar rlgy

update

parent 2b9b5142
### 交接文档 ###
### README ###
#### 目录结构说明 ####
```
......@@ -13,4 +13,26 @@ _
| |____ vendor: 依赖库
|
|token_config: web 根目录 index.php 为入口文件
|____ build.sh: web 目录初始化脚步
```
#### 队列任务 ####
1. 行情更新任务: 使用系统 crontab
```
# m h dom mon dow command
* * * * * /var/www/html/token_config/yii exchange/quotation &>/dev/null
```
2. yii 队列任务监听: 使用 supervisor
```
# P钱包
[program:yii-queue-pwallet]
process_name=%(program_name)s_%(process_num)02d
command=/usr/bin/php7.1 /var/www/html/token_pwallet/yii queue/listen --verbose=0 --color=0
autostart=true
autorestart=true
user=root
numprocs=1
redirect_stderr=true
stdout_logfile=/var/www/html/token_pwallet/console/runtime/logs/yii-queue.log
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment