How to enable command blocks

Go to the File Manager tab.
Click on server.properties.
Change enable-command-block=false to enable-command-block=true