![](https://lemmy.sdf.org/pictrs/image/2c4253d1-a017-4ee0-a6de-a95888886dba.png)
![](https://lemmy.ml/pictrs/image/4qCJsb8xk5.png)
Probably not exactly what you’re looking for but I use a batch file to accomplish this (in linux but windows should be similar). For example:
#!/bin/bash
sleep 2h && steam
sleep 8h && killall steam
Executing that will wait 2 hours, start steam so it can download whatever it wants while I sleep, then shut steam down 6* hours later before other people start needing to use the internet.
*maybe 8 hours, I can’t remember now if it runs commands sequentially or in parallel.
Edit: better single line command for linux:
(sleep 2h; steam) & (sleep 8hr; killall steam) &
In the first example yes. In the second example the commands should run in parallel and be 6hr. I really should brush up on bash, I know just enough to be dangerous.