Hi,
Is is possible to get ATCMD to run in a lower priority state so that if it needs to do something CPU intensive (like compress zips) that it doesn’t hog all the CPU if there are other things running at the same time?
Thanks,
Toni
Hi Toni,
The way I typically do something like this is to use the “Execute Program” action. To do this I would create a controlling Automise project which has the “Execute Program” action. The properties for this action would be setup to call the other Automise project which I would like to lower the priority on. In the Runtime tab under the Execution Properties options, the process priority can be set.
Just some notes on this method:
- Variables can be still passed as would already be done on the command line. I usually pass one variable to the controlling script. This variable is the whole set of options for the internal project. This allows greater flexibility later.
- Logging will occur twice by default. Once in the script to be run, and again in the outer controlling script. To reduce this load turn off logging from the controlling script through the Runtime tabs Logging Properties. The log of each run will still be written to the inner Automise projects log.
- This script can be made generic by passing the script to be executed as a variable.