almost daily the french dragons now tried some sortie against the city 's defenses , mostly to keep the prussians and their guns occupied while the infantry dug their trenches and set up their batteries .