EFW Support

Support => General Support => Topic started by: NavSol on Friday 04 December 2009, 10:09:19 pm



Title: 2.3 cron question
Post by: NavSol on Friday 04 December 2009, 10:09:19 pm
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.
Code:
#!/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 ${!}