Let a long job run in the background
Close the device window and keep working while your agent's job goes on, and how to stop a device resting when you don't want it to.
You will end up with a job running in a device while you get on with something else.
The situation
You asked your agent for something that takes a while, like a long install, a big test run or a slow download inside a device. You don’t want to sit and watch it.
Close the window, not the device
Opening a device’s window is for watching. Closing the window leaves the device running in the background. An Android device runs in the background anyway, and you can open its screen in a window when you want to look.
The menu bar item shows which devices are running and who is using each, so you can check in without opening Castle.
Rest, and how to stop it
A device an agent made rests by itself after a few quiet minutes, and the next command wakes it. A device you made yourself never rests by default. You can change the time, or turn resting off, in the device’s settings: it’s the row called When not used, with choices like Pause after, Turn off after and Never.
If your job needs a device to stay up, set When not used to Never before you start. You can also turn on Start with Castle so a device comes up when Castle does.
Keep your Mac awake
A device has a setting called Keep your Mac awake. It stops your Mac from sleeping while the device runs, on power and not on battery. It does not stop the device from resting. Use When not used for that.
Check back
- Ask your agent how it’s going. It can tell you what it ran and what came out.
- Open the device to watch, or read its Activity.
- When the agent is done it gives the device back with
done. Castle keeps the device as it is.
Good to know
Pausing trades memory for disk. A paused device keeps its saved state on your disk. See Your Mac is short of memory now if your Mac runs short.