Outdated Version

You are viewing an older version of this section. View current production version.

JOB-LIST

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to SingleStore tools.

Info

SingleStore Managed Service does not support this command.

List all the jobs the MemSQL Ops agent has run.

This is useful for troubleshooting MemSQL Ops.

Usage

usage: memsql-ops job-list [--settings-file SETTINGS_FILE] [-q] [-j]
                           [-n LIMIT]
                           [--state {queued,running,finished,fail,cancelled}]

List jobs.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  -q, --quiet           Only display job ids.
  -j, --json            Print output as JSON.
  -n LIMIT, --limit LIMIT
                        The number of jobs to list, starting from the most
                        recent.
  --state {queued,running,finished,fail,cancelled}
                        Filter for jobs in this state. Options are 'queued',
                        'running', 'finished', 'fail', and 'cancelled'.