2024-06-27 14:03:13 +08:00

21 lines
443 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 进入项目容器运行PHP脚本文件
echo "启动定时任务php think timer start --d"
echo "启动长连接php think workerman start --d"
echo "启动队列php think queue:listen --queue"
# 进入容器
docker exec -it crmeb_php /bin/bash
# 进入项目
cd /var/www
# 启动 定时任务
php think timer start --d
# 启动 长连接
php think workerman start --d
# 启动 队列
php think queue:listen --queue