Page 1 of 1

Check If Mac is Shutting Down Variable

PostPosted: Tue Jan 31, 2023 10:48 pm
by ukie
When the mac is set to shutdown or restart, all running applications exit in different orders.
I am using the SecuritySpy plugin (Cynical). I also have a trigger that sends a notification when Indigo has lost communication with SecuritySpy.
However, the trigger should not run when the Mac is rebooting or shutting down. Basically, SecuritySpy tends to exit before Indigo.
So I need some way for Indigo to know when the shutdown has been initiated.

Any ideas?

Re: Check If Mac is Shutting Down Variable

PostPosted: Wed Feb 01, 2023 7:43 am
by siclark
Can you just user a timer? Only send notification if it's lost connection longer than the time it takes indigo to shut down? Maybe a minute? Would prevent those notifications and hopefully not an issue unless you normally respond within seconds

Re: Check If Mac is Shutting Down Variable

PostPosted: Mon Feb 06, 2023 12:49 am
by ukie
That is one way, but I would loose notifications for any intermittent SecuritySpy server issues.