summaryrefslogtreecommitdiff
path: root/man/olamic-worker.1.md
blob: d558f472478d85075a07d68a8fec6472c70539e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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)