Impaired ergosterol biosynthesis mediated fungicidal activity of Co(II) complex with ligand derived from cinnamaldehyde.