FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
211 views 1 comments
by anonymous
Is there any way to manually update the time on the RUT955?

I have added an RTC via USB and have a shell script that can request the time from the RTC and print it to the console.

I need some kind of way to pass the time to the device to update its clock manually, i can only see a way to update automatically from NTP etc.

1 Answer

+1 vote
by anonymous

Hello,

Use date -s your_timestamp to set the time from your shell script : date -s $(/path/to/shell-script.sh)

The time formats recognized are:

@seconds_since_1970
	hh:mm[:ss]
	[YYYY.]MM.DD-hh:mm[:ss]
	YYYY-MM-DD hh:mm[:ss]
	[[[[[YY]YY]MM]DD]hh]mm[.ss]

Regards,

Best answer
by anonymous

Thanks very much smiley