SeattleTestbed / dist

ARCHIVAL: SeattleTestbed's old installer build tool and files
MIT License
0 stars 3 forks source link

[newcomer] Run on Windows without logging in #116

Open choksi81 opened 10 years ago

choksi81 commented 10 years ago

John Bohrmann asks:

Would it be possible to have a way to run Seattle without needing a user to log in?   I prefer not to log into my machine all of the time and would like Seattle to still take advantage of my resources.

This could either be an install option or just instructions on a wiki page.

choksi81 commented 10 years ago

This may be of use: http://stackoverflow.com/questions/2725754/schedule-python-script-windows-7 Seems RELATIVELY clean as well, as it doesn't depend on any windows-specific libraries, as it uses the built-in Windows scheduler.

choksi81 commented 10 years ago

it is not trivial to get tasks to run on system startup. To use scheduled tasks, one would need to provide a password for the user account that we will be running on, otherwise the task will not be run. There is no easy way for us to do this natively, as the "RUNAS" command does not accept pipe input. Therefore, there is no way to guarantee that the scheduled task will run on startup, since the user's password is required to schedule the task. Since our Windows userbase isn't terribly large, we will have instead a wiki page that tells them how to set up Seattle to start on startup if they are inclined to do so.