1. A method for controlling a runtime behavior of processes of an automation system with an operating system, comprising: assigning a priority to each of the processes; assigning runtime to the processes depending on their priority by the operating system; monitoring starting and ending of all processes by a scheduling service; assigning a highest priority in the operating system to the scheduling service; assigning metadata to at least one process, the metadata containing at least one rule about the priority of the process; evaluating whether a process is assigned the metadata by the scheduling service when the process is started; and registering the process for monitoring if the process is assigned the metadata; monitoring the registered process for adherence to the at least one rule per process by the scheduling service; and changing the priorities by the scheduling service of those registered processes of which the at least one rule is not adhered to in accordance with the rule.