During all the time you want to be online as much as possible. It is important to make all required tasks smart way to avoid any downtime. I am always trying to make everything using separate environments. Everything tested when taking care of your website.
Here are some results for websites under my control: