All apps/caffeinate

caffeinate

caffeinate

Prevent the system from sleeping on behalf of a utility.

Runs as caffeinate|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 7 options
Published once and never changed; check the digest before caching
sha256
51b1d9274d8f5513f573bce62a42bba6902bb6637bfe46935b42696a6d7e787a
Size
1813 bytes
OptionsOn caffeinate itself
-d
Create an assertion to prevent the display from sleeping
-i
Create an assertion to prevent the system from idle sleeping
-m
Create an assertion to prevent the disk from idle sleeping
-s
Create an assertion to prevent the system from sleeping. This assertion is valid only when system is running on AC power
-u
Create an assertion to declare that user is active. If the display is off, this option turns the display on and prevents the display from going into idle sleep. If a timeout is not specified with '-t' option, then this assertion is taken with a default of 5 second timeout
-t
Specifies the timeout value in seconds for which this assertion has to be valid. The assertion is dropped after the specified timeout. Timeout value is not used when an utility is invoked with this command <time>
-w
Waits for the process with the specified pid to exit. Once the the process exits, the assertion is also released. This option is ignored when used with utility option <pid>