Execute an external program

Started by Yeti, February 09, 2017, 03:54:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yeti

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:



and here are the rule:



What do I wrong ?

fred

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

Yeti

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 ?

fred

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