A 5.7-magnitude earthquake struck Ruteng, NTT, on Wednesday night, as BMKG warned that aftershocks could continue for up to four weeks.