Hello,
what is the best way if i want to disable sleep for 3 hours while installing on macs which have a configuration profile which sets sleep to 15 minutes. The profile is installed at enrollment after this i run a policy by custom trigger which runs a script with different custom triggers.
Should i just use caffeinate at the beginning of the script?
Should i make a new configuration profile with new sleep settings? Does it overwrite the old 15 minutes? I would like to do everything in the script and not to use an additional step in the jss.
Is there another good way?
Thanks in advance
Maurice Fiedler