Author Topic: test for out of work  (Read 439 times)

0 Members and 1 Guest are viewing this topic.

Offline JStateson

  • Jr. Member
  • **
  • Posts: 68
  • Retired, SwRI, Principal Analyst
    • View Profile
    • ResearchRiders
test for out of work
« on: April 25, 2019, 01:28:45 am »
Would like to know when there are no work units left along with a parameter such as time elapsed since queue was empty.  Currently there is a problem being discussed at milkyway where fast computers complete too soon and ask too often so they get banned and end up not getting any work until a manual update is issued.  Maybe the problem can be fixed at their end, no telling when though.

I would use the rule to issue a manual update and the rule would then be disabled and only re-enabled if more work actually arrived.

some projects go offline for maintenance but  I have %shares set to allow other projects to start.  The problem is fast systems getting "banned" and then needing an update to get more work.

Obviously this is a problem on the project server, but you might consider adding a rule to cover this.

[EDIT] Looks like there is a fix on the server side as discussed HERE.  Not the same fix as the topic suggests as one fix requires another as is usual.
« Last Edit: April 25, 2019, 07:15:27 pm by BeemerBiker »

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3378
  • eFMer
    • View Profile
    • Trails
Re: test for out of work
« Reply #1 on: April 28, 2019, 01:33:39 am »
Would like to know when there are no work units left along with a parameter such as time elapsed since queue was empty.  Currently there is a problem being discussed at
There is an old function in config.xml
   <refresh>
      <auto>   4000   </auto>
   </refresh>
From what I remember it does a refresh in the set interval like 4000 I think those are seconds.

Offline JStateson

  • Jr. Member
  • **
  • Posts: 68
  • Retired, SwRI, Principal Analyst
    • View Profile
    • ResearchRiders
Re: test for out of work
« Reply #2 on: May 03, 2019, 03:48:01 pm »
Found a way to test for out of work - it was in BT already, just was unaware of it
Discussion is here
https://boinc.berkeley.edu/forum_user_posts.php?userid=3749

Unfortunately, BT cannot do an update as that is not one of the options.  However, it can run a batch file which can then do an update.
I put together a tool to do an update across the internet from the batch file.
https://github.com/BeemerBiker/MilkywayRPCupdate/tree/master/RPCupdate