A method for dosing lubricating oil into cylinders, preferably in two-stroke diesel engines, for example marine engines, the method including steps of: - delivering lubricating oil under pressure from a lubricating oil reservoir via a forced lubrication system to injectors provided in walls of the cylinders, as a number of injectors are used, each adapted for injecting a dosed amount of lubricating oil into each cylinder; - establishing data indicating temperature of the lubricating oil in the injector; - storing the temperature data in a computer; - establishing at least one temperature regulating unit (8, 9) controlled by the computer and which is in connection with the delivered lubricating oil for establishing a temperature regulation of the lubricating oil before injection into the cylinder; and - controlling the temperature regulation of the lubricating oil in dependence of the temperature of the lubricating oil in the injector; characterised in that the method further includes steps of: - establishing data indicating the temperature of the lubricating oil in the lubricating oil reservoir; - establishing data indicating temperature of the cylinder lining or of the injector, or a combination thereof in situations where it is not possible to measure the lubricating oil temperature directly in the lubricating oil flowing through the injector; - storing the temperature data in the computer; - controlling or regulating the temperature of the lubricating oil in dependence of the temperature data established of the cylinder lining or of the injector, or a combination thereof in situations where it is not possible to measure the lubricating oil temperature directly in the lubricating oil flowing through the injector, and the temperature of the lubricating oil in the lubricating oil reservoir; - controlling heating/cooling by the at least one temperature regulating unit (8, 9) controlled by the computer based on the established data indicating the temperature of the lubricating oil in the lubricating oil reservoir and the established data indicating temperature of the lubricating oil in the injector or the established data of the temperature of the cylinder lining or of the injector, or a combination thereof in situations where it is not possible to measure the lubricating oil temperature directly in the lubricating oil flowing through the injector for influencing the viscosity of the lubricating oil such that a uniform injection is established. - delivering lubricating oil under pressure from a lubricating oil reservoir via a forced lubrication system to injectors provided in walls of the cylinders, as a number of injectors are used, each adapted for injecting a dosed amount of lubricating oil into each cylinder; - establishing data indicating temperature of the lubricating oil in the injector; - storing the temperature data in a computer; - establishing at least one temperature regulating unit (8, 9) controlled by the computer and which is in connection with the delivered lubricating oil for establishing a temperature regulation of the lubricating oil before injection into the cylinder; and - controlling the temperature regulation of the lubricating oil in dependence of the temperature of the lubricating oil in the injector; - establishing data indicating the temperature of the lubricating oil in the lubricating oil reservoir; - establishing data indicating temperature of the cylinder lining or of the injector, or a combination thereof in situations where it is not possible to measure the lubricating oil temperature directly in the lubricating oil flowing through the injector; - storing the temperature data in the computer; - controlling or regulating the temperature of the lubricating oil in dependence of the temperature data established of the cylinder lining or of the injector, or a combination thereof in situations where it is not possible to measure the lubricating oil temperature directly in the lubricating oil flowing through the injector, and the temperature of the lubricating oil in the lubricating oil reservoir; - controlling heating/cooling by the at least one temperature regulating unit (8, 9) controlled by the computer based on the established data indicating the temperature of the lubricating oil in the lubricating oil reservoir and the established data indicating temperature of the lubricating oil in the injector or the established data of the temperature of the cylinder lining or of the injector, or a combination thereof in situations where it is not possible to measure the lubricating oil temperature directly in the lubricating oil flowing through the injector for influencing the viscosity of the lubricating oil such that a uniform injection is established.