Template synthesis, and X-ray crystal structures of copper(II) and nickel(II) complexes of new unsymmetrical tetradentate Schiff base ligands. Electrochemistry, antibacterial properties, and metal ion effect on hydrolysis–recondensation of the ligand