View Single Post
Old 07-12-2013, 10:43 AM   #94
z000ao8q
Connoisseur
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
Hello,
interesting collection of all sh codings - including mine :-)

May I ask what you are trying to do? :-)
you took my sleep.sh where I calculate the next full hour.
then you take the timestamp and deduct that full hour again - so you got the current (history) full hour. and then you adding 10*60 seconds again on top.

- that is a historic value which cant be used.
- in connection to an hourly cron-job this will not work twice
- and then without a recompiled rtcwake (i did not find it in the fork) it does not work on the mini
- and then you still have the issue that rtcwake does not work unless you completely go to UTC

and I think you forgot to startup wifi in your updateAndSleep.sh

Last edited by z000ao8q; 07-12-2013 at 11:51 AM.
z000ao8q is offline   Reply With Quote