kosa8 cloud sandbox set
Change a cloud sandbox's timeout, what the timeout does, or its idle time
Usage#
kosa8 cloud sandbox set ID
Options#
| Flag | Type | What it does | Default |
|---|---|---|---|
--no-ttl | bool | remove the deadline | — |
--on-timeout | string | what the deadline does: sleep (keep memory and files) or delete | — |
--sleep-after | duration | sleep after this long idle, e.g. 15m; 0 never | 0s |
--ttl | duration | a new deadline, this long from now (1m to 90 days) | 0s |
Example#
kosa8 cloud sandbox set sbx_… --ttl 2h --on-timeout sleep kosa8 cloud sandbox set sbx_… --no-ttl kosa8 cloud sandbox set sbx_… --sleep-after 15m