Problems with kiosk client time... [Solved]

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

Problems with kiosk client time... [Solved]

Post#1 by casystems » 02 Aug 2019, 19:20

I have several devices that have nearly 2 minutes time difference on the client kiosk...how often does it attempt to synchronise the time and also what is the threshold at which it determines that the time needs changing?
Last edited by casystems on 06 Aug 2019, 07:58, edited 2 times in total.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Problems with kiosk client time...

Post#2 by fanthom » 02 Aug 2019, 19:41

Hello casystems,

Kiosk syncs the time only once during boot.

Use the parameter below to do it more often, e.g. every 12 hours:

Code: Select all

run_command=(sleep 12h; ntpdate pool.ntp.org; ) &
Thanks
Please add [Solved] to your thread title if the solution was found.

casystems
White ninja
White ninja
Posts: 19
Joined: 08 May 2018, 13:35
Distribution: Porteus Kiosk version 20180422

Problems with kiosk client time... [Solved]

Post#3 by casystems » 11 Oct 2019, 12:39

actual command need is:

Code: Select all

run_command=( while true; do sleep 12h; ntpdate pool.ntp.org; done; ) &
otherwise, it doesn't repeatedly sync, just once after 12 hours after boot!

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Problems with kiosk client time... [Solved]

Post#4 by fanthom » 11 Oct 2019, 13:22

Trivial mistake on my side ;)

Thanks for fixing it.
Please add [Solved] to your thread title if the solution was found.

Locked