crontab -e 進入編輯模式* 來代表任何時間點* * * * *
│ │ │ │ └───── day of the week (0 - 7, both 0 and 7 represent Sunday)
│ │ │ └─────── month (1 - 12)
│ │ └───────── day of the month (1 - 31)
│ └──────────── hour (0 - 23)
└─────────────── minute (0 - 59)
./.push_hugo.sh
esc 離開編輯模式,並 :wq 儲存離開crontab -l 可以檢查目前的 crontab 設定是否正確30 9 * * * routine-command
/var/mail/{username} 找到執行訊息(以 Mac 為例)cat /var/mail/{Username}