Results 1 to 2 of 2
Hi there,
I am running Voyage 0.3 debian on a system that is powered over ethernet and am having trouble storing the date permanantly. at the moment I am using ...
- 05-09-2007 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 24
Date is lost when power is cut
Hi there,
I am running Voyage 0.3 debian on a system that is powered over ethernet and am having trouble storing the date permanantly. at the moment I am using the code
date -s 05/09/2007
date -s 10:06:06
if I then 'reboot' the system with or without an internet connection its fine but if I cut power to the unit and then start the box up without an internet connection it loses the date and resets back to 00:00:00 01/01/2000.
I need the unit to remember the time whether the power is cut or whether there is an internet connection or not. How can I go about doiung this?
All help is much appreciated, Thank in advance.
Joe
- 05-09-2007 #2Linux Newbie
- Join Date
- Sep 2005
- Location
- CZ
- Posts
- 164
You can try to synchronize time every minute with cron. But I don't know whether the datetime reset is a HW "feature" after power is cut out - then you would be out of luck

Edit:
Synchronize HW clock, not only SW time, that is...


Reply With Quote