Submit Job with Opt-In event

Hello,

  1. I believe that any job that is submitted will trigger the event plugin.
    Event Plugins — Deadline 10.2.1.1 documentation
    and
    How to use opt-in event?

  2. An example .param file is shown in the above URL, but in general the State property should look more like this:

[State]
Type=Enum
Items=Global Enabled;Opt-In;Disabled
Category=Options
CategoryOrder=0
CategoryIndex=0
Label=State
Default=Opt-In
Description=How this event plug-in should respond to events. If Global, all jobs and Workers will trigger the events for this plugin. If Opt-In, jobs and Workers can choose to trigger the events for this plugin. If Disabled, no events are triggered for this plugin.

I think looking at some example code to be extremely helpful:

  1. From another thread, Justin B suggested: Setting worker process environment variables from event plugin - #7 by Justin_B

hope this helps

1 Like