Re: storing variable value

2009-04-13 Thread Daniel Dalton
Yes. I used a file, thanks. On Sat, Apr 11, 2009 at 09:30:40AM -0400, Dave Angel wrote: > > > Daniel Dalton wrote: >> Hi! >> >> I'm writing a program to provide me with battery warnings when my >> battery hits certain levels. It just checks the current level and does >> something. I plan to call

Re: storing variable value

2009-04-11 Thread Dave Angel
Daniel Dalton wrote: Hi! I'm writing a program to provide me with battery warnings when my battery hits certain levels. It just checks the current level and does something. I plan to call it from a a cron job. But If the cron runs every minute, warnings every minute would be rather annoying. s

Re: storing variable value

2009-04-11 Thread Steven D'Aprano
On Sat, 11 Apr 2009 21:36:43 +1000, Daniel Dalton wrote: > Hi! > > I'm writing a program to provide me with battery warnings when my > battery hits certain levels. It just checks the current level and does > something. I plan to call it from a a cron job. But If the cron runs > every minute, warn

Re: storing variable value

2009-04-11 Thread Diez B. Roggisch
Daniel Dalton schrieb: Hi! I'm writing a program to provide me with battery warnings when my battery hits certain levels. It just checks the current level and does something. I plan to call it from a a cron job. But If the cron runs every minute, warnings every minute would be rather annoying. s

storing variable value

2009-04-11 Thread Daniel Dalton
Hi! I'm writing a program to provide me with battery warnings when my battery hits certain levels. It just checks the current level and does something. I plan to call it from a a cron job. But If the cron runs every minute, warnings every minute would be rather annoying. so is there a way to make