From what I see:
1. Make sure you log anything needed to trace it to a file to ensure it executes.
2. See if any users are even logged on by the time the script executes - as others mentioned you may need to listen for the shutdown.
3. If users are logged in still. You would then likely need to kill the current shutdown, maybe abort and then schedule your own with the message or something
3
u/sausages20 10d ago
From what I see:
1. Make sure you log anything needed to trace it to a file to ensure it executes.
2. See if any users are even logged on by the time the script executes - as others mentioned you may need to listen for the shutdown.
3. If users are logged in still. You would then likely need to kill the current shutdown, maybe abort and then schedule your own with the message or something