Depending on your hair and scalp condition you can leave cornrows in from 2 to 8 weeks.
If you leave it for longer, this will result in breakage because like any protective style, cornrows put a lot of pressure on your hair. Moreover, there will be fly-aways from the extensions or your own hair and noticeable amount of build-up. It is recommended to wait at least one week before getting another protective style.