I’m trying to run two different event watchers on the same machine. They have different directories/config files/logs/plugin folders. However when I run “python shotgunEventDaemon.py start” on the second watcher, it will say an event watcher is already running, even though it is a different location and a different shotgunEventDaemon.py file with a different config file. Is there any way to allow them to both run at the same time?
Use the foreground
argument
1 Like
It’s definitely possible on Windows at least, I’ve had 3 or 4 instances running successfully at a time. It’s been a long time since I did this so my my memory is a little foggy, but I believe it was just modifying the hard-coded service name to something unique for each instance.
You’ll of course lose any protection against race conditions or recursive event handling that the single instance provides, but if done carefully it’s great for certain use cases.
3 Likes
thank you both for the info! the foreground argument works great for now, and the service info from dan is really useful. i thankfully dont have to worry about race conditions as they are different sites with different event feeds.
1 Like