Menu

Tree [r1] /
 History

HTTPS access


File Date Author Commit
 gui 2008-09-20 czaanja [r1] First checkout
 README 2008-09-20 czaanja [r1] First checkout
 conf.py 2008-09-20 czaanja [r1] First checkout
 exec_mon.py 2008-09-20 czaanja [r1] First checkout
 file_mon.py 2008-09-20 czaanja [r1] First checkout
 main.py 2008-09-20 czaanja [r1] First checkout
 object_creator.py 2008-09-20 czaanja [r1] First checkout
 psp.py 2008-09-20 czaanja [r1] First checkout
 reaction.py 2008-09-20 czaanja [r1] First checkout
 watch.py 2008-09-20 czaanja [r1] First checkout

Read Me

Application for scheduled process execution
===========================================

To run the application run the executable file:

psp.py

One parameter should be used - it is the name of the configuration file to
be used for configuring the application. If no file is specified is used
the file ~/.psp.conf

Format of configuration file
----------------------------

The configuration file format will be best explained by an example:

[Section1]
Option1 = 42
Option2 = Hello Wold!

[Section2]
Option = test

This explains the structure of the configuration. It doesn't matter how
many there are empty lines or spaces between option name, '=', and option
value. It is also available to use comments in configuration file. Comment
must be leaded by '#' character.

Options of particular monitors
------------------------------

In all monitors must be specified which type of monitor ro use, specified
by option 'type'. The possibilities in this version are:

file       ... single file monitor
file-multi ... multiple file monitor (specified by regular expression)
exec       ... process execution monitor

File monitor:

These are options of implemented file monitor:
active   ... sets if the monitor is active
filename ... specifies the file, or files, to be monitored
flag     ... specifies the flag - posibilities are:
  CHANGE - file altered
  DELETE - file deleted
  CREATE - file created
content  ... when CHANGE flag is set, execute reaction only if this content
  is present in the file
reaction ... process to run as an reaction

Execution monitor:

These are options of implemented file monitor:
active    ... sets if the monitor is active
process   ... specifies the process, or files, to be monitored
flag      ... specifies the flag - posibilities are:
  START - monitored process executed
  STOP - monitored process stopped
parameter ... watch only processes executed with specified parameters
reaction  ... process to run as an reaction