ped daemon 0.1.5 review

Download
by rbytes.net on

ped is a process execution daemon, comparable to cron in its basic functionality

License: GPL (GNU General Public License)
File size: 163K
Developer: Stephan Seitz and Alexander Dangel
0 stars award from rbytes.net

ped is a process execution daemon, comparable to cron in its basic functionality. ped daemon monitors a given directory.

If a user or an application drops a file into this directory, ped parses the content and executes a given command.

The syntax of these files describes the functionality: "[from (unixtimestamp)] [until (unixtimestamp)] [asuser (username)] start|restart|loop (command) [(parameter)]".

ped was primary written to schedule time-consuming tasks initiated by a Web application.

< u >Following keywords are valid for config/start-files:< /u >

from < unixtimestamp >
Defines the start of validity of this file.
Optional.
If this keyword is missing, start time is not checked.

until < unixtimestamp >
Defines the end of validity of this file.
Optional.
If this keyword is missing, end time is not checked.
If the < unixtimestamp > of "until" is less than a given < unixtimestamp >
of "from", the whole file is valid, but no action will take place.

asuser < username >
< username > is the name of a systemuser (do NOT use an UID here).
Optional.
If this keyword is missing, the given user not valid or has no rights
to access a valid shell, the process will start as the same user, ped
runs under (in most cases: root).

start < command > < options >
Starts < command > once in between the duration of validity. If there
is no "from" statement, starting time is seconds after the file has
been dropped in.
After attempting to start < command > the config/start-file is deleted;
nevertheless if < command > is executable or not.

restart < command > < options >
Restarts < command > in between the duration of validity (with the
built-in delay).
If the formerly started process didn't exit, it will be killed, and
a new process will spawn.
After the end of validity, this config/start-file is deleted.

loop < command > < options >
Like "restart", "loop" tries to execute < command > every (built-in
delay) seconds.
If the formerly started process didn't exit, no action will take
place, unless the formerly started process stops; if this happens,
a new instance of < command > is started.
After the end of validity, this config/start-file is deleted.

What's New in This Release:
This release features better support for GNU autotools.
Static definitions have been moved to configurable options.
Man pages and an init script example have been added.
A memory allocation bug was fixed.

ped daemon 0.1.5 search tags