A magnitude 5.4 earthquake struck Mamburao, causing the Quezon provincial government to cut work hours.