Message boards : BOINC Manager : use BOINC command line to communicate on login/out
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 24 Apr 08 Posts: 4 |
I have quite a number of machines on my team, but a large number of them are not connected to the internet all the time and when they are the window is short. The way the retry system works means that for my setup I often do not get results reported in time, because the probability that boinc will attempt a connection while the window is open is low. I also use BAM and participate in quite a number of projects. Is there a way I can force/request communication with BOINC, upload results and communicate with the project servers upon command? I looked at the command line arguments and it seems like it may be possible, but I would have to specify each project and it would not be dynamic. I would like a simple command which would "--project all update" which I could queue to run at a specific time or event. Any suggestions? |
KSMarksPsychSend message Joined: 30 Oct 05 Posts: 1239
|
Use boinccmd and write a script or a batch file to do what you want. Use cron or the Windows task scheduler to run it whenever you want (pick the option that goes with your OS). Kathryn :o) |
Gundolf JahnSend message Joined: 20 Dec 07 Posts: 1069
|
]...Is there a way I can force/request communication with BOINC, upload results and communicate with the project servers upon command? I looked at the command line arguments and it seems like it may be possible, but I would have to specify each project and it would not be dynamic. I would like a simple command which would "--project all update" which I could queue to run at a specific time or event. Any suggestions? [/quote] What about [pre]--set_network_mode mode duration set network mode for given duration mode = always | auto | never[/pre]Or else, are the connection windows on a fixed schedule? If yes, you could use the preferences for a once per day window or the local preferences (BOINC Manager Advanced/Preferences... network usage tab) to establish a slightly advanced schedule for BOINC network access. Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz)
|
|
Send message Joined: 24 Apr 08 Posts: 4 |
I worked on a batch file (BTW --acct_mgr_rpc doesn't work despite what the man pages say, --join_acct_mgr now takes its place). I now have a script which will contact each specifically listed project and the project manager upon command. Unfortunately I had to hardcode each project instead of a wildcard giving me all projects which the computer is currently attached to. Now the problem is that I additionally need to force a file transfer. The command exists to do so, but you have to be explicit with the file names, which once again forces hardcoding. I looked at what appears to be the results files in each of the directories and I did not see a common extension or something which I could use to identify what files need to be transferred, if any. Anyone have any pointers on identifying the files which need to be transfered? I could shut off all network activity and then open it up, hoping that boinc would then quickly do all the network activity it needs during a short window, but I do not want to limit it to traffic only when I force it, but I do want to be able to flush it upon command. Anyone know what the difference between network "auto" and "always" is? |
Gundolf JahnSend message Joined: 20 Dec 07 Posts: 1069
|
Anyone know what the difference between network "auto" and "always" is? "Always" is always and "auto" is according to schedule set in preferences (same as "Network activity based on preferences" from BOINC manager Activity menu). Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz)
|
Copyright © 2026 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.