Author Topic: Rules  (Read 12607 times)

0 Members and 1 Guest are viewing this topic.

Offline Agni451

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Rules
« Reply #15 on: February 22, 2012, 10:02:26 am »
How would I go about creating the following rule(s):

If the temp of a GPU > 80C, suspend the task.  Then once the temp has reached a more normal temp (say 50C), resume the task.

The first part is simple, but how do I do the second part?  Sometime TThrottle can't control the temp anymore (every few hours or so this happens): it puts the GPU use down to 1% "running GPU" but the temps keep climbing, so I manually stop all GPU tasks to let the temps come down.  Then I restart them.  TThrottle has "enable BOINCTasks" checked, and BOINCTasks has "Connect to TThrottle" checked.

One more question: what does the number in the "Throttle" column in BoincTasks indicate?  It doesn't match the % Running GPU in TThrottle.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3431
  • eFMer
    • View Profile
    • Trails
Re: Rules
« Reply #16 on: February 22, 2012, 06:12:39 pm »
How would I go about creating the following rule(s):
The only thing you can do right now is suspend a project and resume it.
Once a task is suspended it's no longer in the history.

The TThrottle column is 100-value in TThrottle, it's the amount of throttling. So 1% running in TThrottle is 99% suspended in BoincTasks.

Offline Corsair

  • Tester
  • Hero Member
  • *****
  • Posts: 539
    • View Profile
Re: Rules
« Reply #17 on: June 30, 2014, 09:59:00 pm »
I want to make a rule that every 24 hours a BOINC idle computer (this computer is not crunching but has BOINC installed and is the BT server too) will update all its projects that are the same for all computer. could it be done with BT rules??

I've been investigating and I find no way to do it.
over the sailors' grave doesn't grove grass.

Corsair.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3431
  • eFMer
    • View Profile
    • Trails
Re: Rules
« Reply #18 on: July 02, 2014, 06:17:13 am »
I've been investigating and I find no way to do it.
Nop, but BOINC should take care of it eventually.

Offline JStateson

  • Jr. Member
  • **
  • Posts: 74
  • Retired, SwRI, Principal Analyst
    • View Profile
    • ResearchRiders
Re: Rules
« Reply #19 on: July 27, 2015, 06:32:47 am »
"batch" files don't seem to execute, instead they show up in notepad.  ie:  putting "beep.bat" in that command window seems, at least on my win7x64 system, to run "notepad.exe beep.bat" instead.  However, if I use "beep.cmd" then all works fine and the file is executed as if it ended in ".bat".  Not sure what is happening.  I even looked in my antivirus history to see if something was happening there.  I didn't see a bug list for this but I might have missed it.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3431
  • eFMer
    • View Profile
    • Trails
Re: Rules
« Reply #20 on: July 27, 2015, 07:25:14 am »
"batch" files don't seem to execute, instead they show up in notepad.  ie:  putting "beep.bat" in that command window seems, at least on my win7x64 system, to run "notepad.exe beep.bat" instead.  However, if I use "beep.cmd" then all works fine and the file is executed as if it ended in ".bat".  Not sure what is happening.  I even looked in my antivirus history to see if something was happening there.  I didn't see a bug list for this but I might have missed it.
Most likely this has something to do with the default program that opens a certain extension. You probably edited a bat file with notepad and check open with or something.
http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7

Offline Thinkfast

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Rules
« Reply #21 on: August 30, 2016, 03:54:01 am »
If I create a rule using Type:Wall-clock Time and I want to suspend a project "ATLAS@home" from [00:00 to 10:00] and [20:00 to 23:59], do I have to create another rule to resume the project from 10:00 to 19:59?

Thanks, Fred
You make managing BOINC, so much easier!

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3431
  • eFMer
    • View Profile
    • Trails
Re: Rules
« Reply #22 on: August 31, 2016, 03:24:28 pm »
If I create a rule using Type:Wall-clock Time and I want to suspend a project "ATLAS@home" from [00:00 to 10:00] and [20:00 to 23:59], do I have to create another rule to resume the project from 10:00 to 19:59?
Good question, I made this part a long long time ago, I think it does resume it again.
You can see what's going on in Show->Rules log

Offline Thinkfast

  • Jr. Member
  • **
  • Posts: 9
    • View Profile
Re: Rules
« Reply #23 on: September 01, 2016, 08:49:38 pm »
I checked the rules log and it indicates that the project changes state is expected:

Start logging

31 August 2016 - 00:01:11 Rule: ATLAS restritions Active ---- Activated: OK, Project: ATLAS@home, CCE, Suspend project
31 August 2016 - 10:02:07 Rule: ATLAS restritions Deactive ---- Activated: OK, Project: ATLAS@home, CCE, Resume project
31 August 2016 - 20:01:27 Rule: ATLAS restritions Active ---- Activated: OK, Project: ATLAS@home, CCE, Suspend project

Not sure what the rest of these entries mean, except for the last group. Turns out that in the Wall-clock time selection window, the block just before 24:00 was green. So that correlates correctly:

Start logging

31 August 2016 - 21:56:49 Rule(s) ---- Active: 2
31 August 2016 - 21:56:49 Rule: ATLAS restritions Active ---- CCE, ATLAS@home, ,  | Wall-clock Time 
31 August 2016 - 21:56:49 Rule: ATLAS restritions Deactive ---- CCE, ATLAS@home, ,  | Wall-clock Time 
31 August 2016 - 21:56:49 ============================================================================== ----
31 August 2016 - 21:57:49 Rule: ATLAS restritions Active ---- Activated: OK, Project: ATLAS@home, CCE, Suspend project

Start logging


Start logging

31 August 2016 - 22:18:49 Rule(s) ---- Active: 2
31 August 2016 - 22:18:49 Rule: ATLAS restritions Active ---- CCE, ATLAS@home, ,  | Wall-clock Time 
31 August 2016 - 22:18:49 Rule: ATLAS restritions Deactive ---- CCE, ATLAS@home, ,  | Wall-clock Time 
31 August 2016 - 22:18:49 ============================================================================== ----
31 August 2016 - 22:19:49 Rule: ATLAS restritions Active ---- Activated: OK, Project: ATLAS@home, CCE, Suspend project
31 August 2016 - 23:47:50 Rule: ATLAS restritions Deactive ---- Activated: OK, Project: ATLAS@home, CCE, Resume project

So everything looks good. Thanks for pointing me to the rules.log.