NAME
task_runner - run a single Disbatch task
VERSION
version 4.103
SYNOPSIS
task_runner --task 565bc0d43fb6ecd1c8504492 --config etc/disbatch/config.json
ARGUMENTS
- --config <string>
-
Path to the JSON Disbatch config file.
- --task <string>
-
The task's _id. Mandatory.
- --gfs [<string>]
-
Use the custom GridFS implementation to store task
stderrandstdout. Default is to store them directly in the task document.While using GridFS can make analysing task output more complicated, we periodically have output that exceeds the maximum MongoDB document size.
To turn this on for all tasks, add the argument
--gfswith no value. To turn it on for tasks with largestdoutandstderr, use--gfs auto. Bothstdoutandstderrwill be stored in the task document if they will fit, otherwisestderrwill be stored in the task document if it will fit andstdoutin GridFS, and finally both with be stored in GridFS ifstderrwill not fit.In the config file, this is disabled with
"gfs": false, enabled with"gfs": true, and automatic with"gfs": "auto"(Note that automatic is the Disbatch default). - --quiet
-
Suppress STDOUT and STDERR output at end (mainly for testing).
- --testing
-
Do
require lib 'lib'; lib->import('lib');beforerequire Disbatch;.
SEE ALSO
AUTHORS
Ashley Willis <awillis@synacor.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016, 2019 by Ashley Willis.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004