Hi,
I was wondering if there is any way to set the priority on an apple script. I’m using a script to do simple server maintenance, it looks similar to this:
do shell script “sudo chmod -RN /Path/Dir/” with
administrator privileges
do shell script “sudo chmod -R 777 /Path/Dir/” with
administrator privileges
do shell script “sudo chown -R admin:public /Path/Dir/” with
administrator privileges
The script works great but the problem is that is bogging down the whole server while it is running. Is there anyway to slow the process down, set priority, or allocate a specific amount of RAM to the process?
Oh, I’m running Leopard Server by the way
Thanks!