使用主管启动selenium脚本

2024-04-29 12:49:51 发布

您现在位置:Python中文网/ 问答频道 /正文

我在使用supervisor启动python selenium脚本时遇到问题,每次都会在运行和启动之间切换

这是我的主管配置:

[program:Aurora]
command=python3.9 Aurorav2.py
directory=/etc/Notifier/Scripts/
user=root
autostart=false
autorestart=true
stderr_logfile=/var/log/Aurora.err.log
stdout_logfile=/var/log/Aurora.out.log
environment=PATH="/usr/bin"

supervisor img


Tags: py脚本logvarseleniumetcprogram主管