Message boards : Questions and problems : Freeze after long screensaver session. Solved?
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Jan 09 Posts: 6 |
Hi, This is not strictly BOINC related but deals with a problem affecting a few people on this forum, and that could affect normal crunching because it forces users to hard reset their machines. I installed Ka firetask on a laptop running 24/7. The reason for install is that the laptop recently used to freeze after screensaver (blank, monitor off) is on for several hours; my only option is to hard reset every time, wich I gather is not good for the machine (and could potentially cause problems with boinc). Hopefully an automated reboot scheduled few minutes before I access my laptop will work a way around this problem; it seems to work so far, but it is not th first time I think I solved the problem. I have hope in this trick because boinc and other programs seem to run fine until touchpad or keyboard are touched, so it seems like it is the process of reverting from screensaver that triggers the freeze. Now, I was wandering if there is a script that allows for BOINC Manager shutdown, which could be set to run just before reboot with Ka Firetask, since some BOINC applications recomend shutting the client before shutdown. Thanks for any info! |
Send message Joined: 20 Dec 07 Posts: 1069 |
... The command line interface of BOINC has a "quit" command that is equivalent to the manager's Advanced/Shut down connected client menu option. So, if you insert boinccmd --quitinto a batch file, the BOINC client is stopped upon execution of this file. Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz) |
Send message Joined: 14 Jan 09 Posts: 6 |
Hi Gundolf and thank you for the reply, I just read my post again and I realized that I sounded like I knew what I was talking about. SURPRISE! I do not know what I am talking about! I was hoping that someone came up with a ready solution :-P Any quick link or recomendation where I could find some precious info on the fascinating world of batch files? Even a batch files for dummies or step by step guide would do, I will not get offended... BTW with some research I see that the forementioned program implements DNM scripts, wich I found out is specific to this and few other programs; it is suposed to be very simple, any way this could be used instead of the batch file? Thank you very much again, I am looking forward to learn a bit more about this interesting stuff |
Send message Joined: 20 Dec 07 Posts: 1069 |
Sorry, I don't have links to offer, but there's not much to tell about batch files. They are (a sort of) script files, just text files with a special suffix (.bat or .cmd), which contain lines with windows (DOS) commands. So, if you open notepad, enter the command from my previous post and save as stop_boinc.bat, you can execute that file like a new command (by typing stop_boinc in a DOS-shell or by double clicking in explorer). If BOINC is not in your windows command path (where it's probably not), you'll have to give the full path of boinccmd.exe in the command (batch) file, like this: C:\Programme\BOINC\boinccmd --helpwhich is the path on my machine, you'll have to substitute yours. And I used the "help" option to show you the possibilities of the BOINC interface. I don't know anything about DNM scripts, but probably they work similarly and you just have to insert the appropriate (windows?) commands. Gruß, Gundolf [edit] I just realized that I assumed your using windows, because the BOINC screensaver doesn't work in *nix. Hope that's right. [/edit] Computer sind nicht alles im Leben. (Kleiner Scherz) |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.