App-Taskflow
view release on metacpan or search on metacpan
App-Taskflow
taskflow - a file based taskflow engine
`taskflow` is a tiny workflow engine. It could be run as a normal
process, as a background process or as a daemon.
It automates many routine tasks such as moving and deleting files,
sending emails if some new files created or other tasks.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
bin/taskflow view on Meta::CPAN
=item * create a configuration file, synatx defined below - default
name will be `taskflow.config`
=item * run `taskflow`
=back
=head1 DESCRIPTION
`taskflow` is a tiny workflow engine. It could be run as a normal
process, as a background process or as a daemon.
It automates many routine tasks such as moving and deleting files,
sending emails if some new files created or other tasks.
Files will be chosen by patterns and these patterns can be written in a
configuration file. For each file which is mached by a pattern, a new
process will be started.
If the process produces any output, it will be saved in a file with
`out` ending. Additionaly there is a file with ending `err` for error
bin/taskflow view on Meta::CPAN
=item * `dt`: time interval (default:1 sec). Only files newer than `dt`
seconds will be considered, time units are as expected (see also
examples):
s = seconds, m = minutes, h = hours, d = days, w = weeks
=item * `command`: command to execute matching files (see `pattern`),
that are created more than `dt` seconds ago and not processed already.
`&` executes command in background.In case of missing `&`, it blocks the process
until its completion.
`$0` refers to name of matching file.
`\` used for command continuation for more than one line
`#` at the start of a line marks that line as comment and ignored
=back
scripts/tasklet view on Meta::CPAN
=item * create a configuration file, synatx defined below - default
name will be `tasklet.config`
=item * run `tasklet`
=back
=head1 DESCRIPTION
`tasklet` is a tiny workflow engine. It could be run as a normal
process, as a background process or as a daemon.
It automates many routine tasks such as moving and deleting files,
sending emails if some new files created or other tasks.
Files will be chosen by patterns and these patterns can be written in a
configuration file. For each file which is mached by a pattern, a new
process will be started.
If the process produces any output, it will be saved in a file with
`out` ending. Additionaly there is a file with ending `err` for error
scripts/tasklet view on Meta::CPAN
=item * `dt`: time interval (default:1 sec). Only files newer than `dt`
seconds will be considered, time units are as expected (see also
examples):
s = seconds, m = minutes, h = hours, d = days, w = weeks
=item * `command`: command to execute matching files (see `pattern`),
that are created more than `dt` seconds ago and not processed already.
`&` executes command in background.In case of missing `&`, it blocks the process
until its completion.
`$0` refers to name of matching file.
`\` used for command continuation for more than one line
`#` at the start of a line marks that line as comment and ignored
=back
( run in 0.738 second using v1.01-cache-2.11-cpan-0d23b851a93 )