STScI logoSTSDAS Help Pages
sleep language sleep

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

Maintained by the Science Software Group at STScI
This file last updated on 14 Feb 1986