diff options
Diffstat (limited to 'man/olamic-worker.1.md')
| -rw-r--r-- | man/olamic-worker.1.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/man/olamic-worker.1.md b/man/olamic-worker.1.md new file mode 100644 index 0000000..d558f47 --- /dev/null +++ b/man/olamic-worker.1.md | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | % OLAMIC-WORKER(1) | ||
| 2 | % Julian B Kongslie | ||
| 3 | % October 2020 | ||
| 4 | |||
| 5 | # NAME | ||
| 6 | |||
| 7 | olamic-worker - run olamic tasks | ||
| 8 | |||
| 9 | # SYNOPSIS | ||
| 10 | |||
| 11 | **olamic-worker** | ||
| 12 | |||
| 13 | # DESCRIPTION | ||
| 14 | |||
| 15 | **olamic-worker** will continuously try to pull a new task from the olamic | ||
| 16 | queue, and run it. It uses its current working directory as a scratch space. | ||
| 17 | |||
| 18 | # ENVIRONMENT VARIABLES | ||
| 19 | |||
| 20 | **OLAMIC_EMAIL** | ||
| 21 | : The default email to complain to if a task fails. This can (and typically | ||
| 22 | will) be overridden on a per-task basis. | ||
| 23 | |||
| 24 | **OLAMIC_QUEUE_HOST** | ||
| 25 | : The host where the olamic queue lives. Defaults to the local machine. | ||
| 26 | |||
| 27 | **OLAMIC_QUEUE_DIR** | ||
| 28 | : The directory where the olamic queue lives. Defaults to /srv/olamic/queue. | ||
| 29 | |||
| 30 | **OLAMIC_WORKER_PERIOD** | ||
| 31 | : How long the worker sleeps for when it can't find a task. Defaults to one | ||
| 32 | minute. | ||
| 33 | |||
| 34 | # SEE ALSO | ||
| 35 | |||
| 36 | olamic-enqueue(1) | ||
