This post is more than 5 years old
3 Posts
0
1463
April 19th, 2016 03:00
Wyse R50LE and sntp
Hello,
I would like to create a crontab to synchronize hourly our Wyse R50LE with a server using sntp.
Is there an issue to this ?
Thanks a lot
Best regards.
Michel
mougo
3 Posts
0
April 26th, 2016 03:00
Thanks to the post "How to add a CRON job" by Sabrosa-2015, my problem is solved.
The final solution was for me, under root :
1 - modifying the /etc/init.d/jexec file by inserting the line "#Required-Stop : $local_fs" after the line beginning by "#Required_Start".
2 - adding the link S12bootclock --> /etc/init.d/boot.clock.
3 - activating the cron service by typing "chkconfig cron on".
4 - desactivating the ntp service by typing "chkconfig ntp off".
5 - creating a script called sntp_synchro in the directory /etc/cron_daily, containing the following line :
/usr/bin/sntp -V -P no -r server_name >> /var/log/sntp 2>&1
6 - rebooting the Terminal.
Please note that you will possibly need to modify manually the /etc/sysconfig.clock to set your TIMEZONE.
Michel
mougo
3 Posts
0
April 26th, 2016 05:00
The link S12bootclock needs to be created in /etc/init.d/rc5.d.