From ed1db863129a5fb17dcd02c47b8744458fa046e1 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 25 Nov 2020 10:45:14 -0800 Subject: Add olamic-wait tool for blocking until a task is complete. --- man/olamic-worker.8.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 man/olamic-worker.8.md (limited to 'man/olamic-worker.8.md') diff --git a/man/olamic-worker.8.md b/man/olamic-worker.8.md new file mode 100644 index 0000000..d558f47 --- /dev/null +++ b/man/olamic-worker.8.md @@ -0,0 +1,36 @@ +% OLAMIC-WORKER(1) +% Julian B Kongslie +% October 2020 + +# NAME + +olamic-worker - run olamic tasks + +# SYNOPSIS + +**olamic-worker** + +# DESCRIPTION + +**olamic-worker** will continuously try to pull a new task from the olamic +queue, and run it. It uses its current working directory as a scratch space. + +# ENVIRONMENT VARIABLES + +**OLAMIC_EMAIL** +: The default email to complain to if a task fails. This can (and typically + will) be overridden on a per-task basis. + +**OLAMIC_QUEUE_HOST** +: The host where the olamic queue lives. Defaults to the local machine. + +**OLAMIC_QUEUE_DIR** +: The directory where the olamic queue lives. Defaults to /srv/olamic/queue. + +**OLAMIC_WORKER_PERIOD** +: How long the worker sleeps for when it can't find a task. Defaults to one + minute. + +# SEE ALSO + +olamic-enqueue(1) -- cgit v1.2.3