Start and restart a list of tasks defined in a config file
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
0-demo-cantare.cmd
1-demo2.cmd
2-kill-all.cmd
3-mk cx freeze-appmon.cmd
README.md
app.py
app.rsrc.py
appmon.py
cantare.cnf
hmon.ico
startup.cnf

README.md

Python App Monitor

A simple Python application written for Microsoft Windows and used to start and restart a list of tasks defined in a config file.

In Windows any python script with no GUI (just console) and started under pythonw.exe will not show a title in taskbar.

This application is inspired by hstart and Erlang supervisor.

Start program from Windows Command Prompt using:

     start pythonw appmon.py config_file.cnf

A sample config file:

;
; A sample config file
;for starting two processes
;

[process one]
RUNCMD = c:\python27\pythonw some-app.py with some arguments
WORK_FOLDER = c:\some working folder for app one
;some environment vars
SCALE=5
IGNOREFACTOR=10
SAMPLES=500
;STEPS=64


[process two]
RUNCMD = c:\python27\pythonw some-app.py with some arguments
WORK_FOLDER = c:\some working folder for app two
;some environment vars
SCALE=5
IGNOREFACTOR=10
SAMPLES=500
;STEPS=64

The compiled version using cx_freeze with Win32GUI also works, run taskkill /f /im appmon.exe to kill it.

No copyright specified.

Feel free to use this software for both personal and commercial.