Hi !
Are there ways to restrict custom event script to be executed on specific machine i.e. on my server.
I have not found a way to do this, though it’d be nice.
Depending on the event that might be possible.
Assuming it’s an onjobfinished you could either set a flag on the job and scan for flagged jobs in OnHouseCleaning (which will only be run by the RCS or Pulse).
Or you could use the event to create a job that will only run on a Worker running on your server. So in the onjobfinished a new job would be created with a machine list of just the server machine.
It somewhat depends on why you want a single machine to be running that event.