Power & Source of Big Ideas

Noticication every 2 minutes: Connecting to NTP

Moderators: chensy, FATechsupport


I'm running NAS OpenMediaVault on Nano Pi NEO2 (Debian Jessie) Kernel 4.11.2.

I have set up notification from my NAS which is good, but when I allowed to NTP time synchronization I'm bombarded on e-mail every 2 minutes information:

Connecting to NTP server
log: /var/log/sync_ntp_rtc.log

where shall I seek problem?
well, so I found reason of my problem by myself :)

all is about CRON job, last line from /etc/crontab

Code: Select all

*/2 * * * * root /bin/bash /usr/bin/sync_ntp_rtc.sh
- that mean that this scrip will run every 2 minutes

solution: I have changed this line to run every 24 hours

Code: Select all

* */24 * * * .....

or it is possible to disable send email notification (I didn't test it) by adding at the end of this line

Code: Select all

>/dev/null 2&>1
Re: disable email notification, show us your

Code: Select all

file contents.

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 47 on Wed Feb 21, 2018 7:00 am

Users browsing this forum: No registered users and 2 guests