Message boards : Questions and problems : net_start_hour problem
Message board moderation
Author | Message |
---|---|
Send message Joined: 5 Jun 08 Posts: 4 |
Hi all, I want to disable all networking communications for Sunday and Saturday for all computers at work to disable all trafic for the end of week. I don't want to have problems with my network admin But when i specify net_start_hour=24 and net_end_hour=0, there is an error with boinc GUI.... there is three value as explain in http://boinc.berkeley.edu/trac/wiki/PrefsReference/Time => Always, Never and HH:MM Can you help me ???? |
Send message Joined: 29 Aug 05 Posts: 15569 |
But when i specify net_start_hour=24 and net_end_hour=0, there is an error with boinc GUI.... 00:00-23:59 is what you need as 00:00 and 24:00 is the same value. (and in no digital clock you have the value of 24:00, always 00:00) |
Send message Joined: 5 Jun 08 Posts: 4 |
I doesn't work : If i specify for all days <net_start_hour>8.000000</net_start_hour> <net_end_hour>18.000000</net_end_hour> for today : day_of_week = 4 i specify 00:00-23:59 it doesn't suspend network activity How can i suspend network activity for Sunday and Saturday ??? |
Send message Joined: 5 Jun 08 Posts: 4 |
So, For Always, it should be net_start_hour=net_end_hour For time specify, net_start_hour<>net_end_hour For Never, there is no solution ..... |
Send message Joined: 29 Aug 05 Posts: 15569 |
For Never, there is no solution ..... Set in BOINC Manager->Advanced View->Activity->Network access suspended. |
Send message Joined: 20 Dec 07 Posts: 1069 |
For Never, there is no solution ..... Yeah, but that would require manual intervention on each Friday and Monday. I think Dagorath's proposal is the best approximation to "never on Saturday and Sunday"; however it's 1.2 minutes, not seconds: <day_prefs> <day_of_week>0</day_of_week> <net_start_hour>0.00</net_start_hour> <net_end_hour>0.02</net_end_hour> </day_prefs> <day_prefs> <day_of_week>6</day_of_week> <net_start_hour>0.00</net_start_hour> <net_end_hour>0.02</net_end_hour> </day_prefs> Gruß, Gundolf Computer sind nicht alles im Leben. (Kleiner Scherz) |
Send message Joined: 5 Jun 08 Posts: 4 |
OK Thanks, I will do a script to stop networking for 20 computers. No problem for a batch. It seems to be the best solution. There is always a solution !! Thanks Dagorath Nico4485 |
Send message Joined: 2 Sep 05 Posts: 103 |
But when i specify net_start_hour=24 and net_end_hour=0, there is an error with boinc GUI.... Those settings do exactly what you want, but you've hit the same problem as I did months ago. The time range validation done by BOINC Manager doesn't have an exception for the values required to disable network or processor usage, so you have to manually edit the following values into global_prefs_override.xml <day_prefs> <day_of_week>0</day_of_week> <net_start_hour>24.00</net_start_hour> <net_end_hour>0.00</net_end_hour> </day_prefs> <day_prefs> <day_of_week>6</day_of_week> <net_start_hour>24.00</net_start_hour> <net_end_hour>0.00</net_end_hour> </day_prefs> "The ultimate test of a moral society is the kind of world that it leaves to its children." - Dietrich Bonhoeffer |
Send message Joined: 29 Aug 05 Posts: 147 |
Not really that difficult. You only need ont batch file on one computer. The command is: boinccmd --host hostname --passwd passwd --set_network_mode never repeat 20 times for each computer. At the other end of the weekend, I have: boinccmd --host hostname --passwd passwd --set_network_mode auto again repeat 20 times. (I only have 6 computers that I have to do this for). BOINC WIKI |
Copyright © 2024 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.