Officials say the strike affected schools and public offices , although essential services such as police and hospitals ran on reduced staffing .