# 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 the duration in the following format:
         1years 2months 3weeks 4days 5hours 6minutes 7.8seconds
You can omit any of the individual durations when they are not required:
         6minutes 7seconds
You can also shorten the string by abbreviating the units to their first letter (months abbreviates to m, minutes to n):
         6n 7s
If you want to specify the value in seconds, no units are required:
         60
The following are all 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