Page 1 of 1

Noticication every 2 minutes: Connecting to NTP

Posted: Thu Aug 17, 2017 7:02 am
by obe1978
Hello

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?

Re: Noticication every 2 minutes: Connecting to NTP

Posted: Thu Aug 17, 2017 10:20 am
by obe1978
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: Noticication every 2 minutes: Connecting to NTP

Posted: Fri Aug 18, 2017 7:42 pm
by davef
Re: disable email notification, show us your

Code: Select all

/usr/bin/sync_ntp_rtc.sh
file contents.