rm -rf /Users/$3/Desktop/*
rm -rf /Users/$3/Downloads/*
rm -rf /Users/$3/Documents/*
I've enabled the login/logout hooks in JSS
I've enabled the "Perform login hook actions in background"
I've scoped the policy with a trigger for logging in.
If I make this available in Self Service, it works flawlessly, but I need this to be automated during the user's login.
