# TaskMaxDuration

The `TaskMaxDuration` parameter specifies the maximum duration of a task. If the maximum duration is exceeded, the task stops and any remaining documents are processed on the next cycle.

Type: | Time Duration The value of this parameter is a time duration. Specify a value using one or more of the following units:
         years      y
         months     m
         weeks      w
         days       d
         hours      h
         minutes    n
         seconds    s
Note that months abbreviates to m, minutes to n. If you want to specify the value in seconds, units are not required. For example, all of the following are equivalent:
         1minute 3seconds
         1n 3s
         63s
         63
Default: |
Required: | No
Configuration Section: | TaskName
Example: | `TaskMaxDuration=2 hours 30 minutes`
See Also: |

_FT_HTML5_bannerTitle.htm