有一个定时运行的Python监控脚本,每次运行前查看是否有其他监控脚本运行,或者自己上次运行进程是否存在,如果有则退出,如果没有就做XXX这个脚本咋写。
It is recommended to use supervisor for process managementPython process management tool Supervisor usage tutorial
It is recommended to use supervisor for process management
Python process management tool Supervisor usage tutorial