I have a bash script which restarts, after Killing Zoom Rooms via killall.
shutdown -R now
I use this script because for whatever reason a policy using Restart Options does not work, likely because Zoom Rooms blocks it.
Unfortunately there is never a record of this script being run, either in the policies log nor any log I can find within the computer history, likely because the computer reboots before Jamf can record the execution of this script.
Is there any way to write a log of this event just before the reboot happens?
Is there a command like line 3 of the following?:
shutdown -r now