Computername within Rules

Started by Yeti, December 09, 2020, 01:17:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yeti

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 ? ? ? ? ?

fred

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