A method of controlling a cooking device according to a product-specific treatment program comprising the following steps: (a) loading a cooking room with products which are supported on at least one product carrier; (b) starting a product-specific treatment program at least with one treatment step (23, 24); (c) heating the cooking room to a set temperature (T soll) according to a time-temperature-specification of the treatment program; (d) monitoring, whether the actual temperature (T ist) reaches the set temperature (T soll) given by the treatment program, or exceeds it; (e) summing up the total treatment time (t ist), within which the set temperature (T soll) is exceeded; (f) in case the inspection according to step (d) is to be answered with "yes", switching off the heater; (g) in case the inspection according to step (d) is to be answered with "no", further examining, whether the total time (t ist) during which the set temperature (T soll) is exceeded, is greater than or equal to a product-specific fraction (x) of a pre-set total treatment time (t GDB) of the treatment program (t ist ≥ x ● t GDB), wherein the product-specific fraction (x) of the total treatment time (t GDB) is between 0 and 1, which is empirically determined for individual products and stored together with the treatment program; (h) in case the inspection according to step (g) is to be answered with "no", switching on the heater; (i) in case the inspection according to step (g) is to be answered with "yes", switching off the heater; (j) further inspecting, whether the total treatment time (t soll) of a treatment step (23, 24) is reached (t s ≥ t soll); (k) in case the inspection according to step (j) is to be answered with "yes", ending the treatment step (23, 24); (l) in case the inspection according to step (j) is to be answered with "no", repeating the steps (c) to (k). (a) loading a cooking room with products which are supported on at least one product carrier; (b) starting a product-specific treatment program at least with one treatment step (23, 24); (c) heating the cooking room to a set temperature (T soll) according to a time-temperature-specification of the treatment program; (d) monitoring, whether the actual temperature (T ist) reaches the set temperature (T soll) given by the treatment program, or exceeds it; (e) summing up the total treatment time (t ist), within which the set temperature (T soll) is exceeded; (f) in case the inspection according to step (d) is to be answered with "yes", switching off the heater; (g) in case the inspection according to step (d) is to be answered with "no", further examining, whether the total time (t ist) during which the set temperature (T soll) is exceeded, is greater than or equal to a product-specific fraction (x) of a pre-set total treatment time (t GDB) of the treatment program (t ist ≥ x ● t GDB), wherein the product-specific fraction (x) of the total treatment time (t GDB) is between 0 and 1, which is empirically determined for individual products and stored together with the treatment program; (h) in case the inspection according to step (g) is to be answered with "no", switching on the heater; (i) in case the inspection according to step (g) is to be answered with "yes", switching off the heater; (j) further inspecting, whether the total treatment time (t soll) of a treatment step (23, 24) is reached (t s ≥ t soll); (k) in case the inspection according to step (j) is to be answered with "yes", ending the treatment step (23, 24); (l) in case the inspection according to step (j) is to be answered with "no", repeating the steps (c) to (k).