Well, I just succeeded in automatically adjusting the time in my Touch.
Here is how you do it:
Log in to your sb as root
Create required directories for crontab

# mkdir -p /var/spool/cron/crontabs

# crontab -e

and add the next line:

0 * * * * /usr/sbin/msntp -r pool.ntp.org >> /tmp/output 2>&1

This will run the command every hour, on the hour and errors will be
appended to the file /tmp/output

(if you never used the vi editor then here is a short manual:
Letter i will start insert mode, then paste the crontab line.
The ESC button will get you back to command mode and ZZ will save and
exit.)


-- 
bojo60
------------------------------------------------------------------------
bojo60's Profile: http://forums.slimdevices.com/member.php?userid=43779
View this thread: http://forums.slimdevices.com/showthread.php?t=85339

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to