How to schedule reboot Ex4?

When I access ex4 via ssh,i can reboot it through “rebot” command.
I also can edit the crontab ,but the crontab is refresh without my command when it restart.
How can i schedule reboot Ex4 or chedule restart the smbd or something?

Thanks!

Hopefully an experienced SSH user will be able to assist.

Some suggestion for wd:
Since Ex4 system refresh the files of config everyday,why not restart the smb and wdmcserver schedully? Sometimes,Ex4 is too slowly to access,but it is nomally after restart the smbd and wdmcserver.
So,you can supply some switches on the webui or restart them schedully to approve experience.

or,make the smbd connection timeout shoter,maybe resolve this problem.