Cylc 8.6.2 how to grab execution time limit as variable

execution time limit = 15m

How do we grab that execution time limit and pass on to the other script for conditional check against age and time.

IE ${CYLC_TIME…}

Thanks.

Pass it to which “other script”? The job script that the limit applies to?

Shell script. It can be any script but more scope on the shell script aka .sh

need to grab the execution time limit from flow.cylc and need to have it in other script for compare against time.

You can use the ‘cylc config’ command to extract any config item from the workflow config.