Message boards : Questions and problems : For linux, is there an easy way to run variable number of BOINC tasks depending on whether idle?
Message board moderation
Author | Message |
---|---|
Send message Joined: 24 Aug 15 Posts: 16 ![]() |
that is, is there an automatic way to do this? For example, I'd like to run 2 tasks while the system is in use, and 4 tasks if the system has been idle for a while. (BOINC manager 7.4.23 only has a compute-while-in use option, so it's either totally on or totally off.) TIA for any pointers |
Send message Joined: 6 Jul 10 Posts: 585 ![]() |
Similar question came up a week or so ago on the WCG forums, and then again, the original querying making his own script after hints on batch+boinccmd to change number of jobs running while he was gaming. Coelum Non Animum Mutant, Qui Trans Mare Currunt |
Send message Joined: 24 Aug 15 Posts: 16 ![]() |
thanks; I poked around here, http://www.techpowerup.com/forums/forums/world-community-grid-wcg.68/ but couldn't find the thread yet. The man page for boinccmnd does show that it could be possible. It'd take me ages though as I'm a novice programmer, especially when it comes to command scripts which I hardly ever do and don't quite grok. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
If you run Gnome, Cinnamon, MATE, Unity or some other desktop environment that uses Gnome Session Manager, you can use the scriptlet in this post as a starting point. Set up two global_prefs_override.xml files, one for idle and another for in-use. When state changes copy corresponding xml file to global_prefs_override.xml and tell BOINC to re-read config files. |
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.