task_runner - run a single Disbatch task
version 3.990
task_runner --plugin Disbatch::Plugin::Demo --task 565bc0d43fb6ecd1c8504492 --config etc/disbatch/config.json
Path to the JSON Disbatch config file.
The task's _id. Mandatory.
The name of the plugin to use. Mandatory.
Use the custom GridFS implementation to store task stderr and stdout. Default is to store them directly in the task document.
stderr
stdout
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 --gfs with no value. To turn it on for tasks with large stdout and stderr, use --gfs auto. Both stdout and stderr will be stored in the task document if they will fit, otherwise stderr will be stored in the task document if it will fit and stdout in GridFS, and finally both with be stored in GridFS if stderr will not fit.
--gfs
--gfs auto
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).
"gfs": false
"gfs": true
"gfs": "auto"
Suppress STDOUT and STDERR output at end (mainly for testing).
Do require lib 'lib'; lib->import('lib'); before require Disbatch;.
require lib 'lib'; lib->import('lib');
require Disbatch;
Disbatch
Disbatch::Web
Disbatch::Roles
Disbatch::Plugin::Demo
disbatchd
disbatch.pl
disbatch-create-users
Ashley Willis <awillis@synacor.com>
This software is Copyright (c) 2016 by Ashley Willis.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Disbatch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Disbatch
CPAN shell
perl -MCPAN -e shell install Disbatch
For more information on module installation, please visit the detailed CPAN module installation guide.