View Single Post
ndi's Avatar
Posts: 2,050 | Thanked: 1,425 times | Joined on Dec 2009 @ Bucharest
#343
Originally Posted by pyther View Post
I don't think that will help in my situation. I want as far as to reflash when PR 1.3 came out to resolve the issue. The odd thing is that it will work on Tuesday and then not on thursday and vice-versa. Mabye I should make two enteries, one for each day of the week.

EDIT: what is the difference between weekly and biweekly?
Biweekly.

Might have a bug. If you scroll back through the thread, you'll find instructions from shapeshifter to me, about how to post the alarm file. Then he can look at it and check to see if it has a bug.

Alternately, you can grep the wiki or forums for the script that changes profiles. When you do, schedule a command that changes profiles, and add to the top of it:

date >> /var/log/alarmlog

Make sure you make it writeable:

touch /var/log/alarmlog
chmod 666 /var/log/alarmlog

Then, every time the script runs it will add date and time in there. That way you can see if it ran but didn't change the profile or it never ran.

Also, might I suggest you schedule 2 events, say, one for 6 AM and one at 6:01, both changing profile.

I do, however, suggest you do the log thing, so we can clear it up. Sometimes my phone doesn't switch profiles either but I never found a pattern.

I keep a log like that for external IPs, because I hover from home wifi to work wifi and I need to home IP. I scheduled and hourly script that does

date >> /iphistory
wget -q -O - api.myiptest.com | awk -F "\"" '{print $4}' >> /iphistory
echo ------ >> iphistory

You can add the touch and chmod to the top of the script if you don't want to manually do it.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.

Last edited by ndi; 2010-10-28 at 14:26.