开发者

Is there a app or python package for managing background python script add,execute,stop?

开发者 https://www.devze.com 2023-01-17 02:36 出处:网络
I want an app or python package that can 1.Dynamically add python script to the background 2.Execute a specified time

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 cle开发者_运维技巧arly


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

0

精彩评论

暂无评论...
验证码 换一张
取 消