[program:yii-qq-transaction-video-sync]
command = php /sobey/www/channel-pub-api/yii qq-transaction-video/sync
autorestart = true
startsecs = 0
stopwaitsecs = 10
stderr_logfile = /data/logs/yii-qq-transaction-video-sync-stderr.log
stdout_logfile = /data/logs/yii-qq-transaction-video-sync-stdout.log
file_put_contents('/sobey/www/channel-pub-api/console/runtime/' . date('Y-m-d-H-i-s') . '.txt', time());
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-29.txt
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-30.txt
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-31.txt
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-32.txt
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-33.txt
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-34.txt
-rw-r--r-- 1 root root 10 Nov 15 10:28 2018-11-15-10-28-35.txt
// 延缓执行 60 秒
sleep(60);
-rw-r--r-- 1 root root 10 Nov 15 10:45 2018-11-15-10-45-35.txt
-rw-r--r-- 1 root root 10 Nov 15 10:46 2018-11-15-10-46-36.txt
-rw-r--r-- 1 root root 10 Nov 15 10:47 2018-11-15-10-47-37.txt
-rw-r--r-- 1 root root 10 Nov 15 10:48 2018-11-15-10-48-38.txt
-rw-r--r-- 1 root root 10 Nov 15 10:49 2018-11-15-10-49-39.txt
Linux 服务器运维、部署与线上故障排查
如果你的网站或后端服务部署在 Linux 服务器上,遇到访问异常、Nginx 配置问题、MySQL / Redis 异常、Docker 服务不可用、磁盘占满、CPU / 内存过高等问题,可以联系我做一次远程排查。
适合以下场景:
✅ 网站打不开或访问不稳定
✅ Nginx / PHP-FPM 配置异常
✅ MySQL / Redis 性能或连接问题
✅ Docker 服务部署与维护
✅ 服务器迁移与环境配置
✅ CPU / 内存 / 磁盘异常排查
服务内容:
✅ Linux 环境检查
✅ 网站部署与迁移
✅ Nginx / PHP-FPM / MySQL / Redis 排查
✅ Docker 配置与维护
✅ 服务器性能分析
✅ 长期远程运维支持
如需咨询,请联系我,并注明:Linux 运维咨询。
联系方式:
Telegram:@shuijingwan
微信:13980074657
邮箱:shuijingwanwq@gmail.com

发表回复