Hi
We are using endian 2.3 community as a content filter box and the time is drifting quite a lot. I have put a script in cron.hourly and I would like to keep a check on whether it runs OK with a log entry. I can run the file ok so i know that I have everything correct there, just would like proof that is OK automatically. I have checked the syslog.conf file and can't find an entry there for cron jobs so should there be or am I looking in the wrong place?
Thanks in advance.
#!/bin/bash
/etc/init.d/ntpd stop
wait ${!}
echo Syncing Time...
/usr/sbin/ntpdate 192.168.1.2
#/usr/sbin/ntpdate 130.88.200.4
wait ${!}
/etc/init.d/ntpd start
wait ${!}