Backing up a simple cron template I am using on a Fedora 24 machine that refuses to sync with ntp...This syncs it every 2 minutes:
# * * * * * command to be executed # ┬ ┬ ┬ ┬ ┬ # │ │ │ │ │ # │ │ │ │ │ # │ │ │ │ └───── day of week (0 - 7) (0 or 7 are Sunday, or use names) # │ │ │ └────────── month (1 - 12) # │ │ └─────────────── day of month (1 - 31) # │ └──────────────────── hour (0 - 23) # └───────────────────────── min (0 - 59) # Log Rotation Crons # # Force the rotation: # 11 * * * * /usr/sbin/logrotate -f /etc/logrotate.conf >/dev/null 2>&1 # Sync the ntp time */2 * * * * /sbin/ntpdate -q 0.rhel.pool.ntp.org >> /tmp/testdate.log