BRIC_QUEUED(1)

NAME
bric_queued - Bricolage jobs queue daemon

SYNOPSIS
  bric_queud [options]

DISCRIPTION
bric_queued is normally run as a daemon that polls a Bricolage jobs queue and executes any unexecuted jobs with a current or past scheduled time. Normally, (see "-s") all of the jobs found in a given poll are executed in order of their scheduled times, with the distribtion and publish jobs being handled by seperate sub-processes, since distribution is normally an order of magnitude faster than publishing.

In cases where the program finds no jobs in the queue it will wait a specified amount of time (defaulting to 30 seconds) and then re-poll.

Note:

Unlike bric_dist_mon, this is a stand-alone program that does makes no HTTP requests to the Bricolage Apache/mod_perl server.

OPTIONS

  --username
The username to use for the distribution.

  --password
The password for the user specified by the "--username" option.

  -p <file> | --pid <file>
Specifies a pid file.

  -d <number> | --delay <number>
Specifies a delay in seconds after finding the queue empty.

  -s [type] | --single [type]
Run a single job of "type" where "type" is one of 'pub' or 'dist'. Implies -verbose.

  -v | --verbose
Turn on verbose mode for debugging.

  -l <file> | --log <file>
Specifies a file to which to send debugging information. There is no need to use this option for normal operation since Bricolage stores this information in its database in much greater detail.

  -h | --help
Print usage information and exit.

DEPENDENCIES

  $BRICOLAGE_ROOT
Set this environment variable as usual to indicate where to find the Bricolage libraries.

  Perl Modules

Getopt::Long
Pod::Usage
POSIX
File::Spec::Functions

AUTHOR
Mark Jaroski <jaroskim@who.int>