문제

I want an app or python package that can

1.Dynamically add python script to the background

2.Execute a specified time

3.Check is this python script is running,

4.Also i can kill the current execute script.

Is already has such package,so i needn't care about cron, at, check processing is running etc.

Cron only can provide execute job periodically,AT provide execute job once at future. They didn't supply well wrapped python package, although there's a python-crontab, but it wasn't work

What I want is a process control management, like start,monitor process current status, I found the supervisor is exactly what I want, also it provide a web gui & xmlprc for intergate it into my app.

I think supervisor is a better choice,and it's provide a high level API, I hope i have explain why I don't use Cron & AT clearly

도움이 되었습니까?

해결책

Take a look at http://supervisord.org/.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top