STScI Logo

sleep language


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

sleep -- suspend process execution for the specified interval

USAGE

sleep [nsec]

PARAMETERS

nsec
The number of seconds to sleep. Defaults to 0.

DESCRIPTION

The sleep command causes the task to hibernate for the specified amount of time.

EXAMPLES

1. Sleep for 10 seconds, and then ring the bell.

cl> sleep 10; beep

SEE ALSO

wait


Search Form · STSDAS