cron cheat sheet
環境を確認し、必要であればインストール
sudo systemctl status crond
sudo yum install cronie
sudo yum update cronie
編集
crontab -e
* 0 * * * test.sh # 毎日0時
* 2 * * 0 test.sh # 毎週日曜日の2時
* 0,3 * * 0 test.sh # 毎週日曜日の0時か3時
* 0-3 * * 0 test.sh # 毎週日曜日の0時から3時の間
*/10 * * * * cron-test.sh #10分おき
確認
crontab -l
ログ
/var/log/cron