Job Server Command Line Quickstart
Use the "jsc" command to manage jobs. Each "jsc" command consists of an "action", "flags" to specify additional options for that action, and in some cases, a "job ID" to specify the job on which the action should be performed.
jsc ACTIONS
| jsc actions | description |
|---|---|
| help | display a list of all available actions for the jsc program |
| list | list currently running jobs |
| info | show information about currently running jobs |
| tail-file | inspect the current output of a running job |
| stop | stop a single running job, multiple running jobs, or all running jobs |
| cancel | cancel a single running job, multiple running jobs, or all running jobs |
| delete | delete a single completed job, multiple completed jobs, or all completed jobs |
| postmortem | collect information about failed jobs |
| download | download the results of completed jobs |
For more details about how each action can be used, see Managing Jobs with the Command Line.
|
On Windows: Any command line prefixed with "$SCHRODINGER/" should be executed without this prefix when using the Schrödinger Command Prompt. |
flags:
Every jsc action has addition options that can be specified using flags. To display information about how to use a jsc action and all the flags that are available for that action, use "-h" after the action.
For example, to display information about the "list" action, type:
$SCHRODINGER/jsc list -h
Job IDs
Many jsc actions require you to specify one or more job IDs (<jobid>).
You can use the jsc list command to find out the job ID of a job.
Job IDs may be abbreviated to the shortest string that would still differentiate them from other jobs. For example, if there is only one job, and its job ID is
09ed08bf-50db-11ea-bebd-8c85900ad4b5, it is enough to specify ‘0’ as the <jobid>.
Using the command line help
To list all possible jsc actions and display information about them, use the help command:
$SCHRODINGER/jsc help
To display information on how to use a specific action, use the -h flag:
$SCHRODINGER/jsc [ACTION] -h