[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: monitoring phone battery status
From: |
BORBELY Zoltan |
Subject: |
Re: monitoring phone battery status |
Date: |
Fri, 22 Oct 2004 10:10:19 +0200 |
User-agent: |
Mutt/1.4.1i |
Hi,
On Fri, Oct 22, 2004 at 09:32:50AM +0200, Christian Hahn wrote:
> I try 'gnokii --monitor 3600 2>&1 | monitor_battery.sh', but then takes
> send sms a long time. How can i run the --monitor command for _one_
> time (to monitoring this with a hourly cronjob)?
The cvs contains the fix. If you don't want to use cvs versions, you can
apply it to 0.6.4:
http://savannah.nongnu.org/cgi-bin/viewcvs/gnokii/gnokii/gnokii/gnokii.c.diff?r1=1.409&r2=1.410
The patch adds the "gnokii --monitor once" option.
Bye,
Bozo