How to setup and restart the cron job on a Synology NAS

Under normal circumstances, we can use the schedule app for run our script or jobs in Synology NAS, but I found that seem not works when I set the schedule for execute by every hours(or mins…), so I have to set the cron job by myself with ssh login. I will show you how to set the cron job by command with ssh.