<sleep>

A task for sleeping a specified period of time, useful when a build or deployment process requires an interval between tasks.

Parameters

Attribute Type Description Required
hours int Hours to add to the sleep time. False
milliseconds int Milliseconds to add to the sleep time. False
minutes int Minutes to add to the sleep time. False
seconds int Seconds to add to the sleep time. False
failonerror bool Determines if task failure stops the build, or is just reported. The default is true. False
if bool If true then the task will be executed; otherwise, skipped. The default is true. False
unless bool Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. False
verbose bool Determines whether the task should report detailed build log messages. The default is false. False

Examples

Requirements

Assembly: NAnt.Core (0.90.3780.0)