Programming the shutdown time