this post was submitted on 10 Jun 2024
52 points (98.1% liked)
Steam
10290 readers
8 users here now
Steam is a video game digital distribution service by Valve.
Steam News | Steam Beta Client news
Useful tools:
SteamDB
SteamCharts
Issue tracker for Linux version of Steam
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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:
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) &
Wouldn't be better to use crontab for that?
I believe it should be 8 hours no?
sleep
should be blocking and should stop the next line (or part after an&&
) from executing.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.