Jump to content

CPU Priority Variable Switcher


conceptr980

Recommended Posts

Im trying to create a python script with cpu priority switcher using the following:

ThisService.Priority = int(ThisService.Variables["CPUPriority"]);

ThisService.Save()
ThisService.Configure()

 

Its not working by switching cpu priority in tcadmin for some reason.

Variable Options in CPUPriority are:

  • Normal
  • AboveNormal
  • High

 

The variable of priority is taken from:

https://docs.tcadmin.com/customizations/scripts/script-objects/this-service/#properties

 

Advice would be appreciated

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 63 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use