How can I start Steam using a cron job?
I've tried just putting
steam in cron, but it does not work. I've tried some odd stuff that I don't understand like
DISPLAY=:0.0 steam %U but that does not work either.
I've tried these lines in cron:
00 02 * * * steam 00 02 * * * DISPLAY=:0.0 steam %U 00 02 * * * /usr/bin/steam %U
Also, is there a way to complete a Steam client update from a cron job? Usually a client update will require user input by asking for permission to restart before it will download and install a client update.
Additionally, if anyone knows how to STOP Steam from cron (as in cause a regular exit under Steam's terms like if you'd pressed "exit"; not a hard kill of the application) I would would also like to know that.
The reason is that I'm stuck with a lousy ISP with a data cap (Hughes.net = crap) except between 2AM-7AM and I'd like to be able to start Steam and get all game/client updates during that time. I know that under Steam/Settings/Downloads you can set it to only download game updates during a certain time but that would only work if I left my computer and Steam running all night; I have my computer's BIOS wake-on-timer set up to boot up my computer a little before 2AM, so I can't leave Steam running. Thank you!