@@ -290,64 +290,8 @@ Task Job Script Variables
290
290
291
291
These variables provided by the :term: `scheduler ` are available to task job scripts:
292
292
293
- .. code-block :: sub
294
-
295
- CYLC_DEBUG # Debug mode, true or not defined
296
- CYLC_VERSION # Version of cylc installation used
297
-
298
- CYLC_CYCLING_MODE # Cycling mode, e.g. gregorian
299
- ISODATETIMECALENDAR # Calendar mode for the `isodatetime` command,
300
- # defined with the value of CYLC_CYCLING_MODE
301
- # when in any datetime cycling mode
302
-
303
- CYLC_WORKFLOW_FINAL_CYCLE_POINT # Final cycle point
304
- CYLC_WORKFLOW_INITIAL_CYCLE_POINT # Initial cycle point
305
- CYLC_WORKFLOW_ID # Workflow ID
306
- CYLC_WORKFLOW_NAME # Workflow name
307
- # (the workflow ID without the run name)
308
- CYLC_UTC # UTC mode, True or False
309
- CYLC_VERBOSE # Verbose mode, True or False
310
- TZ # Set to "UTC" in UTC mode or not defined
311
-
312
- CYLC_WORKFLOW_RUN_DIR # Location of the run directory in
313
- # job host, e.g. ~/cylc-run/foo
314
- CYLC_WORKFLOW_HOST # Host running the workflow process
315
- CYLC_WORKFLOW_OWNER # User ID running the workflow process
316
-
317
- CYLC_WORKFLOW_SHARE_DIR # Workflow (or task!) shared directory (see below)
318
- CYLC_WORKFLOW_UUID # Workflow UUID string
319
- CYLC_WORKFLOW_WORK_DIR # Workflow work directory (see below)
320
-
321
- CYLC_TASK_JOB # Task job identifier expressed as
322
- # CYCLE-POINT/TASK-NAME/SUBMIT-NUMBER
323
- # e.g. 20110511T1800Z/t1/01
324
-
325
- CYLC_TASK_CYCLE_POINT # Cycle point, e.g. 20110511T1800Z
326
- ISODATETIMEREF # Reference time for the `isodatetime` command,
327
- # defined with the value of CYLC_TASK_CYCLE_POINT
328
- # when in any datetime cycling mode
329
-
330
- CYLC_TASK_NAME # Job's task name, e.g. t1
331
- CYLC_TASK_SUBMIT_NUMBER # Job's submit number, e.g. 1,
332
- # increments with every submit
333
- CYLC_TASK_TRY_NUMBER # Number of execution tries, e.g. 1
334
- # increments with automatic retry-on-fail
335
- CYLC_TASK_ID # Task instance identifier TASK-NAME.CYCLE-POINT
336
- # e.g. t1.20110511T1800Z
337
- CYLC_TASK_LOG_DIR # Location of the job log directory
338
- # e.g. ~/cylc-run/foo/log/job/20110511T1800Z/t1/01/
339
- CYLC_TASK_LOG_ROOT # The task job file path
340
- # e.g. ~/cylc-run/foo/log/job/20110511T1800Z/t1/01/job
341
- CYLC_TASK_WORK_DIR # Location of task work directory (see below)
342
- # e.g. ~/cylc-run/foo/work/20110511T1800Z/t1
343
- CYLC_TASK_NAMESPACE_HIERARCHY # Linearised family namespace of the task,
344
- # e.g. root postproc t1
345
- CYLC_TASK_DEPENDENCIES # List of met dependencies that triggered the task
346
- # e.g. 1/foo 1/bar
347
-
348
- CYLC_TASK_COMMS_METHOD # Set to "ssh" if communication method is "ssh"
349
- CYLC_TASK_SSH_LOGIN_SHELL # With "ssh" communication, if set to "True",
350
- # use login shell on workflow host
293
+ .. literalinclude :: ../../reference/job-script-vars/var-list.txt
294
+ :language: sub
351
295
352
296
Some global shell variables are also defined in the task job script, but not
353
297
exported to subshells:
0 commit comments