My kiosk, for some reason, has a time offset of a few seconds after a few hours after booting, which causes a lot of confusion for users of the app running on it.
If possible, I need help configuring a schedule that will update the clock from NTP every hour.
I am not sure what the scheduled_action should look like. I would like to update the time from the default public NTP server.
Time/clock sync schedule
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
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
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Time/clock sync schedule
Hello CLSpl,
As per our documentation:
https://porteus-kiosk.org/parameters.html#run_command
You could modify this parameter value:
Thanks
As per our documentation:
https://porteus-kiosk.org/parameters.html#run_command
You could modify this parameter value:
Code: Select all
run_command=( while true; do sleep 1h; wget http://domain.com/files/video.mp4 -O /opt/storage/video.mp4; killall firefox; done; ) &
Please add [Solved] to your thread title if the solution was found.
-
- Contributor
- Posts: 686
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Time/clock sync schedule
Maybe this: ntpdate -s time.nist.gov && hwclock -w