Turning a device on/off causes thermal stress. Leaving it on causes wear and tear (even on non moving parts). The only thing you shouldn't do is quickly power cycle the computer. If you turn it on/off, leave it that way for at least a few seconds. Other than that, it's up to you.