eFMer - BoincTasks and TThrottle forum

BoincTasks For Window, Mac & Linux => Questions => Topic started by: Yeti on February 09, 2017, 03:54:06 PM

Title: Execute an external program
Post by: Yeti on February 09, 2017, 03:54:06 PM
I want to execute an external program, when 60 tasks of PrimeGrid are uploading. I set up the rule like below, bit it doesn't execute:

(http://forum.nordlichter-team.de/yeti/BOINCTasksPG.jpg)

and here are the rule:

(http://forum.nordlichter-team.de/yeti/BOINCTasksPGRule.jpg)

What do I wrong ?
Title: Re: Execute an external program
Post by: fred on February 13, 2017, 03:03:57 AM
Quote from: Yeti on February 09, 2017, 03:54:06 PM
What do I wrong ?
Check Show->Rules log
Make sure the rule in the active list.

The log should show the rule triggered.
History should be enabled for any rule to work.

4,62 may take a very long time to trigger.
>4 Ready and Aborted
62 count that may be too long
Title: Re: Execute an external program
Post by: Yeti on February 13, 2017, 09:20:29 AM
Quote from: fred on February 13, 2017, 03:03:57 AM

4,62 may take a very long time to trigger.
>4 Ready and Aborted
Aahh, I misinterpreted this.

Thought, > 4,62 would read as: Status Uploading, >62 count

So, I should set =4,62 but what happens, when count =64 ?
Title: Re: Execute an external program
Post by: fred on February 13, 2017, 08:48:54 PM
Quote from: Yeti on February 13, 2017, 09:20:29 AM
Aahh, I misinterpreted this.

Thought, > 4,62 would read as: Status Uploading, >62 count

So, I should set =4,62 but what happens, when count =64 ?
I checked and from what I understand.....
The second number is the number of items that match the rule.

So > 4,62 status 4 and more than 62 lines with this status.
But I don't know why this was added, probably to trigger an alarm when the number of aborted tasks exceeds a certain number.

Go to Show->Rules log and check "Enable debug mode", this will show you a bit more.

So far I'm just as much in the dark about this status rule
From what I can see in the code, the Project and Application name must match, so a blank will probably not work.

Don't have the time to look into it more.

Fred