Scroll to navigation

taskd(1) User Manuals taskd(1)

NAME

taskd - Taskserver

SYNOPSIS

taskd <command> [options] [<args>]
taskd -v|--version
taskd -h|--help
taskd diagnostics
taskd validate <JSON | file>
taskd help [<command>]

DESCRIPTION

Taskserver is a sync server for Taskwarrior and related products.

COMMANDS

Taskserver supports several commands, which provide administrative capabilities. The commands are:

Performs a one-time initialization of the Taskserver instance. Creates the bare data structure. Either '--data <root>' must be specified, or TASKDDATA must be set.

Provides option and syntax help for each command.

Allows modification of the taskd configuration. Can add, remove, modify or list all configuration settings. Either '--data <root>' must be specified, or TASKDDATA must be set.

Starts the server in daemon or TTY mode. While there is no interactivity, the difference is whether taskd is attached to a TTY or not.

Note that sending the HUP signal to the taskd server causes a configuration file reload before the next request is handled.

Adds organizations, groups and users. Either '--data <root>' must be specified, or TASKDDATA must be set.

Removes organizations, groups and users. Either '--data <root>' must be specified, or TASKDDATA must be set.

Suspends organizations, groups and users. Either '--data <root>' must be specified, or TASKDDATA must be set.

Resumes organizations, groups and users. Either '--data <root>' must be specified, or TASKDDATA must be set.

Displays diagnostic information important when reporting bugs.

Parses the quoted JSON string or JSON file. Useful for debugging JSON that is generated by Taskserver clients.

Sends the Taskserver request in <file> to <host:port>. Options specified must include ca.cert (for self-signed certs), client.cert, client.key.

COMMON OPTIONS

Most commands support the following options:

Temporary configuration override.

Does not ask for confirmation of changes.

Suppresses verbose output.

Shows debugging information.

Many commands require the location of the data root, so either it must be provided as shown, or via the TASKDDATA environment variable.

CONFIGURATION

The Taskserver configuration file can be found in the top level of the data root. It is recommended that the 'taskd config' command is used to manipulate this file.

Note that any configuration variable may be overridden on the command line using this syntax:


$ taskd server --NAME=VALUE

In all commands but one, this will _temporarily_ override the value, but with the 'init' command, which creates a config file, overrides are made permanent.

ENVIRONMENT VARIABLES

Environment variables provide values that would otherwise be required at the command line.

Most command require either '--data <root>' or this environment variable. If both are provided, the command line overrides the environment.

CREDITS & COPYRIGHTS

Copyright (C) 2010 - 2015, Göteborg Bit Factory.

Taskserver is distributed under the MIT license. See http://www.opensource.org/licenses/mit-license.php for more information.

SEE ALSO

taskdrc(5),taskdctl(1)

For more information regarding Taskserver, see the following:

<http://taskwarrior.org>

<https://git.tasktools.org/scm/tm/taskd.git>

<support@taskwarrior.org>

REPORTING BUGS

<http://taskwarrior.org

2015-05-10 taskd 1.1.0