For long-term unattended operation, a gravity drain hose can be connected:
This is the "set it and forget it" method, perfect for basements. Finether Dehumidifier Operating Instructions