[Cl:1][C:2]1[CH:9]=[C:8]([Cl:10])[CH:7]=[CH:6][C:3]=1[CH:4]=O.[N:11]1([CH2:16][C:17]#[N:18])[CH:15]=[N:14][CH:13]=[N:12]1.O>C1(C)C=CC=CC=1.N1CCCCC1>[Cl:1][C:2]1[CH:9]=[C:8]([Cl:10])[CH:7]=[CH:6][C:3]=1[CH:4]=[C:16]([N:11]1[CH:15]=[N:14][CH:13]=[N:12]1)[C:17]#[N:18]138.9 g (790 millimoles) of 2,4-dichlorobenzaldehyde, 76.7 g (710 millimoles) of 2-(1,2,4-triazol-1-yl)-acetonitrile and 1 g of piperidine in 1 l of toluene are heated at the boil under a water separator until 1 equivalent of water has been separated off. The mixture is then left to cool, and the precipitated crystals are filtered off under suction. They can be purified by recrystallization from toluene. 56.5 g (30% of theory) of 3-(2,4-dichlorophenyl)-2-(1,2,4-triazol-1-yl)-acrylonitrile of melting point 156°-160° C. are obtained.