Posts by tomy666

    Hello

    I have problem witch wrong data and time in my tuner .

    This code i working

    Code
    ntpdate -u Pool.ntp.org 

    I would like to make a simple script to run from cron. Date updated once a day. Can you tell me what it should look like?


    etc/cron/crontabs/root


    added

    Code
    30 * * * *    /usr/bin/ntpdate-sync silent
    60 * * * *    /etc/cron.daily/ntpsynchro

    I create new file ntpsynchro

    Bash
    #!/bin/sh
    /usr/sbin/ntpdate -b -s -u pl.pool.ntp.org | logger 1> /dev/null 2>&1


    that is good ? Help me please :)