eFMer - BoincTasks and TThrottle forum

BoincTasks For Window, Mac & Linux => Questions => Topic started by: Yeti on December 09, 2020, 01:17:15 PM

Title: Computername within Rules
Post by: Yeti on December 09, 2020, 01:17:15 PM
Hi,

I'm using the rules to get a notification when something seems to be wrong with my tasks.

The Rule is independent from the computers (I use 8 computers) but when I run a batch, I would like to give the name of the computer as parameter to the batch.

Batch-calling can handover a parameter, but what would be the correkt value for the Computer(name) ?

x:\Batch.bat, Computer ? ? ? ? ?
Title: Re: Computername within Rules
Post by: fred on December 09, 2020, 05:19:31 PM
Quote from: Yeti on December 09, 2020, 01:17:15 PM
x:\Batch.bat, Computer ? ? ? ? ?
The parameter is just a string it's up to the other end to do something.
A string can be par1,par2,par3

If you want to rules for specific computers you probably have to make duplicate rules.
One with a parameter computer1,etc and one with computer2, etc