I have a script to unmount the SAN storage and I want this to be run only when the user logs off.
So, how can I set the policy running at log-offs?
I see there is a way to run the policy in log-ins but I don't see when log-offs.
The Logout trigger has been removed. You will have to find an alternative, maybe have a Self Service policy and educate users to run to unmount. Unless not unmounted casused isssues, I would not bother, but maybe you have reasons to do so.
@Lunar I would look at offset.https://github.com/aysiu/offset