Run the policy when the user logs off

Lunar
New Contributor

Hi, 

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.

Please help.

2 REPLIES 2

geoff_widdowson
Contributor II

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.

KyleEricson
Valued Contributor II

@Lunar I would look at offset.
https://github.com/aysiu/offset

Read My Blog: https://www.ericsontech.com