Outdated Version
You are viewing an older version of this section. View current production version.
JOB-WAIT
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.
Wait for a specific MemSQL Ops agent job to finish.
This is useful for troubleshooting MemSQL Ops.
Usage
usage: memsql-ops job-wait [--settings-file SETTINGS_FILE] [--timeout TIMEOUT]
job_id
Wait for a job to finish.
positional arguments:
job_id The ID of the job to wait for.
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.
--timeout TIMEOUT The max time in seconds to wait. If this is not
specified, we will wait indefinitely. If it is 0, we
will check the job's state and return immediately.