1. A method for controlling/regulating at least one task with the aid of a control program that monitors a runtime of the at least one task, the method comprising: initiating the at least one task; terminating, by the control program, the at least one task if a runtime of the at least one task exceeds a predetermined time period, wherein the predetermined time period is a function of at least one of a minimum runtime and a maximum runtime; and determining a quality value as a function of a probability with which the runtime of the at least one task is between the minimum runtime and the maximum runtime.