How do I change Android screen orientation via simulating acceleration?
I don't think you can do it via adb, but you can programmatically change the orientation using.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); 

You could link this up to a timer that would change the orientation every five minutes if that's what you want to do, or write it into unit tests to automatically check if everything goes ok when you change orientation.