time
The time directive defines the maximum runtime for each task.
Usage
For example:
process hello {
time 1.h
script:
"""
your_command --here
"""
}
Use the following suffixes to specify duration values:
ms: millisecondss: secondsm: minutesh: hoursd: days
See Duration for more information.
Executor support
This directive is only used by certain executors. See Executors for the executors that support this directive.